在使用junit4進行測試時出現了以下錯誤:
Caused by: java.lang.ClassNotFoundException: org.junit.runner.manipulation.Filter
錯誤原因:
添加junit時錯誤添加到了Modulepath路徑下;
解決方案:
将Modulepath路徑下的junit 4 Remove,并添加新的junit 4 到Classpath路徑下;
效果如下:
在使用junit4進行測試時出現了以下錯誤:
Caused by: java.lang.ClassNotFoundException: org.junit.runner.manipulation.Filter
錯誤原因:
添加junit時錯誤添加到了Modulepath路徑下;
解決方案:
将Modulepath路徑下的junit 4 Remove,并添加新的junit 4 到Classpath路徑下;
效果如下: