title: Mockito and Eclipse rcp
body: <p>I am trying to use mockito on my eclipse rcp project. For some reason I get this error each time I am going to run my unit-test:</p>
  
  <blockquote>
    <p>java.lang.NoClassDefFoundError: org/mockito/Mockito Caused by:
    java.lang.ClassNotFoundException: org.mockito.Mockito</p>
  </blockquote>
  
  <p>My code is similar with this in mockito sample:</p>
  
  <pre><code>@Test
  public void testExecuteStep(){
    List test = mock(List.class); //here the exception will be thrown.
  }
  </code></pre>
  
  <p>Can anybody give me a solution of this problem?</p>