adminfaces / admin-template

JSF responsive admin template based on Bootstrap and AdminLTE
https://adminfaces.github.io/docs/latest/#admin_template
MIT License
209 stars 101 forks source link

error with mvn compile #220

Open cezarsg opened 8 months ago

cezarsg commented 8 months ago
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