使用jdk14启动项目【内测】
最后更新于:2022-04-02 07:21:18
- 1.修改父pom文件,设置java版本

- 2.修改core的pom,shiro排除,文件地址:jeecg-boot-base/jeecg-boot-base-core/pom.xml

~~~
com.puppycrawl.tools
checkstyle
~~~
- 3.修改platform下各个模块的pom,删除plugins,主要是混淆插件会导致启动失败
- 4.添加启动参数
·
`--add-opens java.base/jdk.internal.loader=ALL-UNNAMED`
说明:
```
Judging from the stack trace this is caused by Groovy so either your are using an old Groovy version that doesn't support JDK 9 or running code that imports `jdk.internal.loader` without declaring proper Java module access.
I'd start by checking that you have recent Groovy dependencies but a quick workaround would be to run the JVM with:
```
';