jcasbin / casbin-spring-boot-starter

Spring Boot 2.x & 3.x Starter for Casbin, see example at: https://github.com/jcasbin/casbin-spring-boot-example
https://mvnrepository.com/artifact/org.casbin/casbin-spring-boot-starter
Apache License 2.0
191 stars 70 forks source link

WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils #64

Closed Tinywan closed 2 years ago

Tinywan commented 2 years ago

Spring Boot:v2.2.2.RELEASE OpenJDK:

openjdk 11 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

WARNING:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils (file:/C:/Users/Tinywan/.m2/repository/org/springframework/spring-core/5.2.2.RELEASE/spring-core-5.2.2.RELEASE.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 org.springframework.cglib.core.ReflectUtils
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
casbin-bot commented 2 years ago

@tangyang9464 @seriouszyx @elfisworking @fangzhengjin

hsluoyz commented 2 years ago

@seriouszyx @imp2002

/cc @tangyang9464

tangyang9464 commented 2 years ago

@Tinywan Please check if it is the same as https://github.com/casbin/jcasbin/issues/271. If not. Please provide more detailed information.

hsluoyz commented 2 years ago

@Tinywan any update?

Tinywan commented 2 years ago

openjdk version question openjdk 8 is ok