Eclipse Lombok installation error [How to Solve]

Just downloaded from the official website of eclipse to install lombok (manually installed and automatically installed are reported as errors) after opening the java code error: module java.base does not “opens java.lang” to unnamed module
Solution.
In the eclipse.ini file, add

--add-exports=java.base/sun.nio.ch=ALL-UNNAMED 
--add-opens=java.base/java.lang=ALL-UNNAMED 
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED 
--add-opens=java.base/java.io=ALL-UNNAMED 
--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED

 

Read More: