thx, switching to v9 solves the problems :-) Am Do., 23. Juni 2022 um 09:12 Uhr schrieb Rob Sargent < rsarg...@xmission.com>:
> > > > On Jun 23, 2022, at 12:53 AM, Markus Reich <reich.mar...@gmail.com> > wrote: > > > > yes, it seems that in the pom tomcat 10 is specified, does this make any > > difference? > > <tomcat.version>10.0.18</tomcat.version> > > > >> Am Do., 23. Juni 2022 um 08:30 Uhr schrieb Rob Sargent < > >> rsarg...@xmission.com>: > >> > >> > > Yes. Quite big difference between v9 and v10. > You must read the release notes. And your initial post mentions a v9 doc > page. Stick with a single tomcat release > >> > >>> On Jun 22, 2022, at 11:36 PM, Markus Reich <reich.mar...@gmail.com> > >> wrote: > >>> > >>> Hi, > >>> > >>> I'm trying to precompile a JSF application, I follow the instructions > on > >>> https://tomcat.apache.org/tomcat-9.0-doc/graal.html. > >>> > >>> I got a lot of errors like > >>> Caused by: java.lang.ClassCastException: class > >>> com.sun.faces.taglib.jsf_core.CoreValidator cannot be cast to class > >>> jakarta.servlet.jsp.tagext.TagLibraryValidator > >>> (com.sun.faces.taglib.jsf_core.CoreValidator and > >>> jakarta.servlet.jsp.tagext.TagLibraryValidator are in unnamed module of > >>> loader org.apache.tools.ant.AntClassLoader > >>> > >>> The header in JSP is > >>> <%@page contentType="text/html"%> > >>> <%@page pageEncoding="UTF-8"%> > >>> > >>> <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%> > >>> <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%> > >>> > >>> <%@taglib prefix="t" uri="/WEB-INF/eclnt"%> > >>> > >>> regards > >>> Meex > >> > >> Are you sure you haven’t included something from Tomcat v10? > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > >> For additional commands, e-mail: users-h...@tomcat.apache.org > >> > >> > > > > -- > > *Markus Reich* > > Waldweg 62 > > 6393 St. Ulrich am Pillersee > > reich.mar...@gmail.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- *Markus Reich* Waldweg 62 6393 St. Ulrich am Pillersee reich.mar...@gmail.com