2015-02-10 18:23 GMT+03:00 Gernot <[email protected]>: > Hi! > > 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 > I have not found any documentation for <validator> task for Tomcat 8. Is > there any additional configuration necessary (in contrast to Tomcat > 5.5/6/7)?
Thank you for the report, I filed this into Bugzilla https://issues.apache.org/bugzilla/show_bug.cgi?id=57558 1. What is the full stacktrace of that NoClassDefFoundError? 2. You should be able to fix this by adding catalina.jar to the list of files in catalina-tasks.xml Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
