Caused by: java.lang.ClassNotFoundException: org.hamcrest.SelfDescribing
eclipse中使用Junit测试时报错:
Caused by:
java.lang.ClassNotFoundException: org.hamcrest.SelfDescribing(详情如图)
,,是因为缺少hamcrest的jar包。点击链接可获取junit4.12和hamcrest的jar包和hamcrest-core-1.3的jar包
https://download.****.net/download/weixin_41005006/10493963