title: NoClassDefFoundError on org/hamcrest/Matchers on junit
body: <p>I have hamcrest-all-1.3 on top of junit-dep jar and still get this exception when I run using ant. However, Eclipse is intelligent enough to resolve this conflict and the test works.  I don't have mockito on my classpath, however, do have jmockit and easymock which I believe is not the problem here. Here is the assert:</p>
  <pre><code>import static org.hamcrest.MatcherAssert.assertThat;
  import static org.hamcrest.Matchers.lessThanOrEqualTo;
  /* ...
  ...
  ... */
  
  
   assertThat(10, lessThanOrEqualTo(20));
  </code></pre>
  <p>Exception is</p>
  <blockquote>
  <p>[junit] org/hamcrest/Matchers</p>
  <p>[junit] java.lang.NoClassDefFoundError: org/hamcrest/Matchers</p>
  </blockquote>