Skip to content

An illegal reflective access operation has occurred #1

Open

Description

@AaronNGray

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

Activity

  1. kermitt2 commented on Apr 30, 2023

    @kermitt2
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions