0

I have a folder containing junit.jar,hamcrest-core-1.3.jar, and my java files containing the tests. I am running "javac -cp ./junit.jar: Tests.java" to compile my junit test. When I go to run my test with "java -cp ./junit.jar:. org.junit.runner.JUnitCore Tests" I get the following error "UnitCore Tests JUnit version 4.11 Exception in thread "main" java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing"

Any help??

j_vega19
  • 228
  • 1
  • 2
  • 11

0 Answers0