Skip to content

Project installation fails with jdk21 #104

@ngonzalezpazFC

Description

@ngonzalezpazFC

Installation fails with this version:

java 21.0.5 2024-10-15 LTS
Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.5+9-LTS-239, mixed mode, sharing)

Error:

INFO] Reactor Summary for Backend Core 1.1.0-SNAPSHOT:
[INFO]
[INFO] Backend Core ....................................... SUCCESS [  0.438 s]
[INFO] Backend Core - Model ............................... FAILURE [  0.467 s]
[INFO] Backend Core - Data Access Interfaces .............. SKIPPED
[INFO] Backend Core - Data Access Layer Implementations ... SKIPPED
[INFO] Backend Core - Business Interfaces ................. SKIPPED
[INFO] Backend Core - Business Implementations ............ SKIPPED
[INFO] Backend Core - Business Implementation (Spring Data) SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.955 s
[INFO] Finished at: 2025-09-19T10:19:27-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project backend-core-model: Fatal error compiling: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :backend-core-model

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions