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:
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.lessThanOrEqualTo;
/* ...
...
... */
assertThat(10, lessThanOrEqualTo(20));
Exception is
[junit] org/hamcrest/Matchers
[junit] java.lang.NoClassDefFoundError: org/hamcrest/Matchers