https://issues.apache.org/bugzilla/show_bug.cgi?id=57558
Bug ID: 57558
Summary: <validator> ant task throws NoClassDefFoundError -
Tomcat 8.0.18
Product: Tomcat 8
Version: 8.0.18
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
Assignee: [email protected]
Reporter: [email protected]
This has been reported on the users list
http://mail-archives.apache.org/mod_mbox/tomcat-users/201502.mbox/%3CCAHvOsHzPt9hK8iGSTfXCzCcUSMq4N0DH5o1WRzTFvW-pKdVRRg%40mail.gmail.com%3E
http://tomcat.markmail.org/thread/du5j6z54cw2pfdvz
<quote>
I'm using Tomcat 8.0.18.
I've following ant build.xml:
<import file="${tomcat.home}/bin/
catalina-tasks.xml"/>
<target name="jspc">
<jasper
validateXml="false"
uriroot="${webapp.path}"
webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml"
outputDir="${webapp.path}/WEB-INF/src" />
<validator path="${webapp.path}" />
...
</target>
<jasper> task works great, but <validator> task throws
java.lang.NoClassDefFoundError: org/apache/catalina/Globals
</quote>
Searching the jars, "org/apache/catalina/Globals.class" is in catalina.jar,
which is not listed in bin/catalina-tasks.xml
I think that catalina-tasks.xml shall list all jars from
${catalina.home}/lib/*.jar, instead of naming just a few of those. Besides
catalina.jar others that are missing are *-i18n-*.jar ones.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]