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

Reply via email to