在配置完成junit后运行出现java.lang.NoClassDefFoundError: org/junit/runner/manipulation/Filter错误,解决方案为在buildpath中add libary添加junit的Hamcrest jar,步骤为
- Right click your project in Package Explorer > click Properties
- go to Java Build Path > Libraries tab
- click on 'Add Library' button
- select JUnit
- click Next.