title: IllegalStateException when using Mockito with IntelliJ's Java
body: <p>The error message I receive:</p>
  
  <blockquote>
    <p>java.lang.IllegalStateException: Could not initialize plugin:
    interface org.mockito.plugins.MockMaker</p>
  </blockquote>
  
  <p>The code in question:</p>
  
  <pre><code>List&lt;String&gt; mockList = mock(List.class);
  </code></pre>
  
  <p>The build.gradle dependency:</p>
  
  <pre><code>dependencies {
      testCompile group: 'junit', name: 'junit', version: '4.12'
  
      def mockito_version = 'latest.release'
  
      // For local unit tests on your development machine
      testCompile "org.mockito:mockito-core:$mockito_version"
  }
  </code></pre>
  
  <p>I have tried looking at other people with the same issue and I keep getting references to PowerMock. I have no idea what that means, so if this is a duplicate I apologize. It just seems like no other question had a solution that resolved my issue. The library is imported properly, as I do not have any compilation errors. Any help would be greatly appreciated.</p>