Skip to content

Getting rid of: WARNING: An illegal reflective access operation has occurred #140

@bernd-clemenz

Description

@bernd-clemenz

Getting rid of:

WARNING: An illegal reflective access operation has occurred

by updating the dependencies to more recent versions. The followoing list works for me building against J11 (see below) using

mvn clean install

These changed made the warning go away. The build completes with success:

  • guava: 31.0.1-jre
  • slf4j: 1.7.32
  • guice: 5.0.1
  • guice-assistedinject: 5.0.1
  • spock-core: 2.0-groovy-3.0
  • gmavenplus-plugin: 1.13.0
  • maven-surefire-plugin: 3.0.0-M5
  • jacoco-maven-plugin: 0.8.7

Info:
Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
Maven home: apache-maven-3.8.2
Java version: 11.0.12, vendor: GraalVM Community, runtime: graalvm-ce-java11-21.2.0
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

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