jspc-maven-plugin
jspc-maven-plugin copied to clipboard
Caused by: org.apache.jasper.JasperException: The absolute uri: [http://java.sun.com/jsf/core] cannot be resolved in either web.xml or the jar files deployed with this application
It works well on Oracle JDK 8
But it throw some exceptions when I am using openJDK:
Caused by: org.apache.jasper.JasperException: The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved in either web.xml or the jar files deployed with this application
Caused by: org.apache.jasper.JasperException: The absolute uri: [http://java.sun.com/jsf/core] cannot be resolved in either web.xml or the jar files deployed with this application
java -version openjdk version "21.0.2" 2024-01-16 LTS OpenJDK Runtime Environment Corretto-21.0.2.13.1 (build 21.0.2+13-LTS) OpenJDK 64-Bit Server VM Corretto-21.0.2.13.1 (build 21.0.2+13-LTS, mixed mode, sharing)
I'm sorry but I haven't used JSP in more than 10 years even though I'm still maintaining this plugin. Therefor I don't really know what is going on and won't be investigating.
However, I migrated from javax to jakarta a while ago and had to change some urls for that: https://github.com/leonardehrenfried/jspc-maven-plugin/commit/c25931fae083af6a1acde4ec1d858d10909f848c
Maybe it's related.
If that is the problem please let me know so others have some documentation, too.
If something in this plugin needs to be changed, I welcome a PR.