grobid-client-node
grobid-client-node copied to clipboard
An illegal reflective access operation has occurred
When using grobid-client-node with grobid master I am getting the following :-
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Users/aaron/.gradle/caches/modules-2/files-2.1/com.google.inject/guice/4.1.0/eeb69005da379a10071aa4948c48d89250febb07/guice-4.1.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
Hello @AaronNGray !
Thanks for the issue.
It's just a warning and nothing to worry about here. It simply means that the version of the guice library is old for your JDK. The next grobid release should be compatible with JDK up to at least version 17 and I will update the dependencies to avoid as much as possible warning like this.