2015-02-10 16:41 GMT+01:00 Konstantin Kolinko <knst.koli...@gmail.com>:

> 2015-02-10 18:23 GMT+03:00 Gernot <gern...@nurfuerspam.de>:
> > 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
>
>
Adding catalina.jar to the list of files in catalina-tasks.xml solves my
problem! - Thanks!

Thank you for reporting the problem in Bugzilla!

Best regards,
Gernot

Reply via email to