jspc-maven-plugin icon indicating copy to clipboard operation
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

Open Justin01Wu opened this issue 10 months ago • 1 comments

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)

Justin01Wu avatar Apr 03 '24 15:04 Justin01Wu

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.

leonardehrenfried avatar Apr 03 '24 15:04 leonardehrenfried