Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

problem when i wanna use tomcat

  Asked By: Jeff    Date: Feb 05    Category: Java    Views: 571
  

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?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on problem when i wanna use tomcat Or get search suggestion and latest updates.




Tagged: