While trying to run GraalVM Reachability Meatdata tests with the latest-ea version (from oracle-graalvm-ea-builds), test org.thymeleaf.extras:thymeleaf-extras-springsecurity6:3.1.0.M1 failed with the following error (see this):

Error: Feature defined by org.springframework.aot.graalvm.ConstantFieldFeature unexpectedly failed with a(n) java.lang.NoSuchMethodError.
Please report this problem to the authors of org.springframework.aot.graalvm.ConstantFieldFeature.

cc: @mhalbritter

Comment From: fniephaus

It turns out the test is using spring-core-6.0.0-M6 which included a ConstantFieldFeature accessing Native Image internals:

https://github.com/spring-projects/spring-framework/blob/877a3d362b6e619a09eb48a8588857b3f75b09a5/spring-core/graalvm/src/main/java/org/springframework/aot/graalvm/ConstantFieldFeature.java#L19-L20

Updating to 6.0.x should fix this, will check...

Comment From: dnestoro

Resolved on Reachability Metadata side with this pull request that switched testImplementation from version 6.0.0-M6 (that contained ConstantFieldFeature) to 6.0.0 (which doesn't contain ConstantFieldFeature)