Using java 8, after try command mvn compile I am getting this error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project admin-template: Compilation failure
[ERROR] /C:/projetos/adminlte-jsf/admin-template/src/main/java/com/github/adminfaces/template/exception/BusinessException.java:[3,19] cannot access jakarta.ejb.ApplicationException
[ERROR] bad class file: C:\Users\cezar.m2\repository\jakarta\platform\jakarta.jakartaee-web-api\10.0.0\jakarta.jakartaee-web-api-10.0.0.jar(jakarta/ejb/ApplicationException.class)
[ERROR] class file has wrong version 55.0, should be 52.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
Issue Overview
Using java 8, after try command mvn compile I am getting this error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project admin-template: Compilation failure [ERROR] /C:/projetos/adminlte-jsf/admin-template/src/main/java/com/github/adminfaces/template/exception/BusinessException.java:[3,19] cannot access jakarta.ejb.ApplicationException [ERROR] bad class file: C:\Users\cezar.m2\repository\jakarta\platform\jakarta.jakartaee-web-api\10.0.0\jakarta.jakartaee-web-api-10.0.0.jar(jakarta/ejb/ApplicationException.class) [ERROR] class file has wrong version 55.0, should be 52.0 [ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
Current Behaviour
An image may worth a thousand words
Expected Behaviour
An image may worth a thousand words
How to reproduce
type comand mvn compile with java 8
Additional Information