getting build failure
:maven-compiler-plugin:3.8.0:compilee[m e[1m(default-compile)e[m on project e[36mpre-registration-batchjobe[m: e[1;31mFatal error compilinge[m: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x2ae25358) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment , is there any specific java version or maven version to use
getting build failure
Regarding the build failure our team will get back to you asap.
Do follow all steps given in Mosip Docs:
Pre-registration Developers Guide - MOSIP Docs 1.2.0
You are missing lombok.jar in classpath.
Hope this helps.
The lombok.jar is not to be directly added in classpath.
Please read the setup steps
you will find below details
again getting the same build error
[e[1;31mERRORe[m] Failed to execute goal e[32morg.apache.maven.plugins:maven-compiler-plugin:3.8.0:compilee[m e[1m(default-compile)e[m on project e[36mpre-registration-application-servicee[m: e[1;31mFatal error compilinge[m: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x4b688389) 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 @0x4b688389 -> e[1m[Help 1]e[m even after installing lombok in eclipse.
Which branch or tagged code have you cloned?
Clone latest code from “release-126.96.36.199” Branch and check.
yes it is cloned from release-188.8.131.52
Still the same issue of build error is coming even after following all the steps given by mayura?
Can you re-check all the steps once again !
Also if possible can you please clone again from “release-184.108.40.206” in a fresh folder and follow all setup steps again?
Did you try cloning again from “release-220.127.116.11” as mentioned above by Mayura?
Try doing this and let us know if the issue still persists.
still facing the same issue.
I hope you have updated settings.xml correctly as given in setup steps.
Also hope you are using Java 11.
I just now tried the build with a fresh checkout and it worked. Pls verify that you are also using same branch “release-18.104.22.168”.
thanks now working after changing jdk version
It’s great to hear that it’s working now.
Let us know if you require any other support.