admin-template icon indicating copy to clipboard operation
admin-template copied to clipboard

error with mvn compile

Open cezarsg opened this issue 1 year ago • 0 comments

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

Prompt de Comando

Expected Behaviour

An image may worth a thousand words

How to reproduce

type comand mvn compile with java 8

Additional Information
  • AdminFaces version: as pom.xml
  • PrimeFaces version: as pom.xml
  • JSF implementation: as pom.xml

cezarsg avatar Jan 12 '24 19:01 cezarsg