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