I had a test dependency on a third-party jar which used powermock. In order to resolve this error, I had to add:
@PowerMockIgnore("jdk.internal.reflect.*")
To the class that is tested with powermock
I had a test dependency on a third-party jar which used powermock. In order to resolve this error, I had to add:
@PowerMockIgnore("jdk.internal.reflect.*")
To the class that is tested with powermock