Getting Jar Hell When Running Test in Intellij

Using Version 2.3.3. Any idea how to resolve this? Thanks

java.lang.RuntimeException: found jar hell in test classpath

	at org.elasticsearch.bootstrap.BootstrapForTesting.<clinit>(BootstrapForTesting.java:95)
	at org.elasticsearch.test.ESTestCase.<clinit>(ESTestCase.java:99)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:348)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:585)
Caused by: java.lang.IllegalStateException: jar hell!
class: org.hamcrest.BaseDescription
jar1: /Users/dadepo/.ivy2/cache/junit/junit/jars/junit-4.10.jar
jar2: /Users/dadepo/.ivy2/cache/org.mockito/mockito-all/jars/mockito-all-1.8.4.jar

You probably need to exclude hamcrest-core from the junit dependency.