Bryan Mulkey
unread,Mar 25, 2024, 4:32:47 PM3/25/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WildFly
Hello!
Is there a preferred maven plugin or other method to precompile JSPs for Wildfly 31? I have been using the io.leonard.maven.plugins:jspc-maven-plugin to precompile JSps for previous wildfly versions, but the generated Java code for the JSP has a call to this method:
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(jakarta.servlet.jsp.tagext.Tag, org.apache.tomcat.InstanceManager, boolean)'
When I access the page, I get the following exception:
||Content=jakarta.servlet.ServletException: java.lang.NoSuchMethodError: 'void org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(jakarta.servlet.jsp.tagext.Tag, org.apache.tomcat.InstanceManager, boolean)'
jakarta.servlet.ServletException: java.lang.NoSuchMethodError: 'void org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(jakarta.servlet.jsp.tagext.Tag, org.apache.tomcat.InstanceManager, boolean)'
at io.unde...@2.2.7.Final//org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:891)
at io.unde...@2.2.7.Final//org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:820)
The Jastow 2.2.7 jar's class file for JspRuntimeLibrary does not have any method called "releaseTag."
Has anyone else faced this issue or know a better way to pre-compile JSPs? Any advice would be appreciated.