1:运行一个springboot项目,报错
accessible: module java.base does not “opens java.lang“ to unnamed module
解决方法
复制以下参数到 jvm中,重启eclipse
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/sun.net.util=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
--illegal-access=warn
如图