jackson-databind icon indicating copy to clipboard operation
jackson-databind copied to clipboard

Illegal reflective access by

Open JITU960 opened this issue 3 years ago • 1 comments

I got following message on running my service.

I am using Java 11 oracle version with spring boot version 2.7.3

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.fasterxml.jackson.databind.util.ClassUtil (file:/usr/local/Cellar/gradle/7.0.2_2/libexec/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.13.3/56deb9ea2c93a7a556b3afbedd616d342963464e/jackson-databind-2.13.3.jar) to field java.lang.Throwable.cause WARNING: Please consider reporting this to the maintainers of com.fasterxml.jackson.databind.util.ClassUtil 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

JITU960 avatar Sep 30 '22 19:09 JITU960

This is unfortunately unactionable as-is: what is necessary to know which specific value class triggers this; there is no fix for general possibility of warning since ClassUtil is called with class to force access to -- so it is caller we need to know.

You may also try 2.13.4 but I suspect it does not change this particular one.

Will leave open in case more information might become accessible.

cowtowncoder avatar Oct 01 '22 00:10 cowtowncoder