ansforge / psc-rass-loader

module de chargement des modifications quotidiennes du RASS dans la base de données Sec-PSC
1 stars 0 forks source link

Sever the coupling to JDK 11 #45

Open edegenetais-nx opened 2 hours ago

edegenetais-nx commented 2 hours ago

The pscloader project is coupled to JDK-11, and fails to build with JDK-21.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project pscload: 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]
edegenetais-nx commented 2 hours ago

A quick search points to lombok :

https://stackoverflow.com/questions/77171270/compilation-error-after-upgrading-to-jdk-21-nosuchfielderror-jcimport-does-n

Upgrading the lombok version would probable be a good lead.