[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    Re: Precompile JSP error using webapp-jspc.ant.xml (tomcat stuffed)
From:       Markus Reich <reich.markus () gmail ! com>
Date:       2022-06-23 7:35:39
Message-ID: CAGscxrx9xEDwOMr=BjFhtdJRfgdsw8TqtsujsOCW9aV9CEcApw () mail ! gmail ! com
[Download RAW message or body]


thx, switching to v9 solves the problems :-)

Am Do., 23. Juni 2022 um 09:12 Uhr schrieb Rob Sargent <
rsargent@xmission.com>:

>
>
> > On Jun 23, 2022, at 12:53 AM, Markus Reich <reich.markus@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 <
> >> rsargent@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.markus@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-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
> > --
> > *Markus Reich*
> > Waldweg 62
> > 6393 St. Ulrich am Pillersee
> > reich.markus@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

-- 
*Markus Reich*
Waldweg 62
6393 St. Ulrich am Pillersee
reich.markus@gmail.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic