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

前端 未结 4 1063
难免孤独
难免孤独 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:58

    Latest version of hamcrest-all is available at: https://search.maven.org/search?q=a:hamcrest-all

    Download this version (as opposed to the hamcrest-core) and that should do it.

提交回复
热议问题