-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
springboot3+jdk17 未适配完成 #6287
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
当前使用版本
springboot 3.0.4
mybatis-plus 3.5.7
当前环境信息
例如: Java17 + Mysql5.7
描述bug现象
springboot3 + mybatis-plus 3.5.7 ,启动报错
jvm 启动加入 --add-opens java.base/java.lang.reflect=ALL-UNNAMED 才能正常启动
提供问题复现步骤
提供完整堆栈日志(可选)
Caused by: org.apache.ibatis.exceptions.PersistenceException:
Error updating database. Cause: java.lang.reflect.InaccessibleObjectException: Unable to make field protected java.lang.reflect.InvocationHandler java.lang.reflect.Proxy.h accessible: module java.base does not "opens java.lang.reflect" to unnamed module @7bb58ca3
The error may exist in file [/Users/lzzkey/DevProject/Project/JavaProject/Yz/db/target/classes/com/gzyz/yz/mysql/system/dao/model/SystemPermissionMapper.xml]
The error may involve defaultParameterMap
The error occurred while setting parameters
SQL: delete from system_permission where PERMISSION_CODE = ? AND CREATE_TYPE = 0
Cause: java.lang.reflect.InaccessibleObjectException: Unable to make field protected java.lang.reflect.InvocationHandler java.lang.reflect.Proxy.h accessible: module java.base does not "opens java.lang.reflect" to unnamed module @7bb58ca3
提供问题复现工程(可选)
请尽量提供复现工程,减少大家排错的时间.
The text was updated successfully, but these errors were encountered: