java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing in Intellij

前端 未结 4 1060
难免孤独
难免孤独 2021-01-17 07:12

I used Intellij Idea 12 Community edition. I am trying to create test case for my class by creating test case. When i run my test case it says

java.lang.NoC         


        
4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-17 07:50

    Did you include the hamcrest-core-1.3.jar file in your classpath? If not included means include that jar and try once again.

提交回复
热议问题