Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seata 不支持JDK17吗 #4703

Closed
adminSxs opened this issue Jun 16, 2022 · 1 comment · Fixed by #4434
Closed

Seata 不支持JDK17吗 #4703

adminSxs opened this issue Jun 16, 2022 · 1 comment · Fixed by #4434

Comments

@adminSxs
Copy link

Java: 17
seata: 1.3
Springboot: 2.2.0.RELEASE

我用Java8启动项目没有任何问题,试用用JDK17就会报错,然后我在启动参数加入 --add-opens java.base/java.lang=ALL-UNNAMED,还是报错,移除seata依赖就能启动成功,加入就会报错

引入seata错误是:

Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @815b41f
@funky-eyes
Copy link
Contributor

#4434

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants