I'm using maven-3.8.1 along with java -1.8 to construct my spring microservice project. During install, I am getting these errors tracing to all methods of one the classes :
java.lang.NoSuchMethodError: org.mockito.MockitoAnnotations.openMocks(Ljava/Lang/object;)Ljava/Lang/Autocloseable;
I'm also using mockito 2.15 along with powermock 2.0 so I know they're compatible with each other.
Any help would be appreciated.