Open liweiye-2021 opened 2 years ago
the method is deprecated in version 3.XX,is removed in version 4.0
having same issue, any workaround to fix it?
Seems fix in this PR - https://github.com/powermock/powermock/pull/1113/files When this PR is expected to merge and release?
2-3 more years probably ...
Hello , did you find the solution for the error or not ?
No,as nmorkar say,no one release this PR - https://github.com/powermock/powermock/pull/1113/files
The only solution is to migrate and use mockito inline
Thanks,I will try do it
dependency:
sample:
Java17
java.lang.NoSuchMethodError: 'org.mockito.invocation.Invocation org.mockito.invocation.InvocationFactory.createInvocation(java.lang.Object, org.mockito.mock.MockCreationSettings, java.lang.reflect.Method, java.util.concurrent.Callable, java.lang.Object[])'