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 @49cb5030
It is estimated that you also have this error screenshot:
If your pop-up window keeps popping up, cancel this first and automatically compile:
Pay attention, it's not the problem of clean or not, it's your eclipse.ini configuration file!
You follow the installation tutorial on the Internet as normal, and here you pay attention: my frame is ready.
It is prompting us to add parameters:
We first open the eclipse configuration file
Just add the parameter in the last line:
Perfectly solve the problem of not compiling!