I am getting the following exception in the eclipse editor window when I try to open a class:
Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @2154652c
This is occurring with:
eclipe eclipse-jee-2021-06-R-win32-x86_64.zip
java project jre: AdoptOpenJDK jdk8u292-b10
lombok: 1.18.20
If lombok is not installed, I don't have any problems. Does anyone have any suggestions? I haven't seen any messages about this in the lombok issues or discussions and I haven't found anything in the eclipse bugs or discussions.
I downloaded and unzipped eclipse-jee-2021-06-R-win32-x86_64.zip, installed lombok 1.18.20 using the gui and then started it up. In the preferences, I changed the project installed jre to AdoptOpenJDK jdk8u292-b10. I then created a basic java project and added a new class to it. The error shows up in the editor pane.