You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could not instantiate Fairy (Fairy.create()) when testing JFairy for the first time today.
My config
JDK 15 and 17
Jfairy 0.6.4
Spring Boot 2.5.6
Error
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Users/John/.m2/repository/com/google/inject/guice/4.2.0/guice-4.2.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 com.google.inject.internal.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
The problem seems to be that JFairy depends on these old versions:
I could not instantiate Fairy (
Fairy.create()
) when testing JFairy for the first time today.My config
Error
The problem seems to be that JFairy depends on these old versions:
Upgrading to latest version 5.0.1 have solved the problem
This Guice Issue confirms this problem.
I recommend updating to newest version for Guice and Guice Assisted Inject
The text was updated successfully, but these errors were encountered: