Skip to content

error with mvn compile #220

Description

@cezarsg
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions