Summary: | Jasper ant task fails with java.lang.NoClassDefFoundError: org.apache.tomcat.util.descriptor.LocalResolver | ||
---|---|---|---|
Product: | Tomcat 6 | Reporter: | M Gemmell <merglin> |
Component: | Jasper | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 6.0.41 | ||
Target Milestone: | default | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: | patch for catalina-tasks.xml |
Comment on attachment 31659 [details]
patch for catalina-tasks.xml
I wonder why catalina-tasks.xml lists individual jar files. It would be easier to just include all *.jar files into the classpath.
Patch proposed for 6.0.x. Regarding why list the JARs I suspect it is something to do with no having unnecessary dependencies but I'm not sure how much that really matters in this case. Patch was applied and will be in 6.0.42 onwards. Thank you. |
Created attachment 31659 [details] patch for catalina-tasks.xml When importing bin/catalina-tasks.xml into an ant script, the Jasper task fails with the following error: java.lang.NoClassDefFoundError: org.apache.tomcat.util.descriptor.LocalResolver Problem appeared in 6.0.39 and still exists 6.0.41. It seems that the bin/catalina-tasks.xml is missing a jar required by the Jasper task (tomcat-coyote.jar) attached a patch.