-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
高版本jdk报错 #2240
Labels
bug
Something isn't working
Comments
我也遇到了同样的问题 |
升级jdk17之后,我也遇到了同样的问题,望尽快解决,谢谢 |
我也遇到了同样的问题 |
在3.1.0 里面会修复 |
3.1.0预计什么时候发布 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
建议先去看文档
快速开始 、常见问题
触发场景描述
3.0.5版本反射代理有问题
在jdk11上出现警告但还能用
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/C:/Users/admin/.m2/repository/cglib/cglib/3.3.0/cglib-3.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of net.sf.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
而在jdk17上直接报错无法使用!!!!!!!!!!!!!!!!!!!!
触发Bug的代码
提示的异常或者没有达到的效果
com.alibaba.excel.exception.ExcelGenerateException: java.lang.ExceptionInInitializerError
Caused by: java.lang.ExceptionInInitializerError
Caused by: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InaccessibleObjectException-->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 @175c2241
Caused by: java.lang.reflect.InaccessibleObjectException: 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 @175c2241
The text was updated successfully, but these errors were encountered: