i have a problem when i wanna use tomcat:
Jan 15, 2009 2:53:06 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.ClassCastException:
org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to
org.apache.AnnotationProcessor
After a search, i found that DefaultAnnotationProcessor implements
AnnotationProcessor and in tomcat 6 catalina.jar and jasper.jar both
of them contains AnnotationProcessor interface in the same package.
Some solution was suggested by kind people but it doesn't work for me,
which is adding this line:
<Loader delegate="true" />
to the context element in the context.xml file of tomcat.
Did any body face this problem?