Powermock failed to find the 'modifiers' field in method setInternalState

16 views Asked by At

I am trying to run java test cases. Its a spring boot application. When we run the test classes we get "java.lang.RuntimeException: Internal error: Failed to find the 'modifiers' field in method setInternalState."

Below are the version details

java version - 17
spring-boot - 2.3.2.RELEASE
project.build.sourceEncoding - UTF-8
projectlombok.version - 1.18.22
org.apache.maven.plugins.version - 3.6.0
azure-storage-blob - 12.22.2
junit - 4.12

Please help.

0

There are 0 answers