AtlasOfLivingAustralia / ala-sensitive-data-service

Sensitive data service suitable for use with the pipelines project
Other
1 stars 4 forks source link

Build fails with Lombok error #36

Open nickdos opened 1 month ago

nickdos commented 1 month ago

When using the master or maintenance-1.1 branch (needed for current Pipelines), running mvn clean install as per readme file, results in errors (using JDK 8):

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project ala-sensitive-data-core: Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x8636cf4) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x8636cf4 -> [Help 1]

Quick Google search shows this can be fixed with minor version update on Lomkok import -> 1.18.10 to 1.18.28.

nickdos commented 1 month ago

master branch has same issue, so re-opening issue and editting title.