关于 “The import junit cannot be resolved”的提示错误

关于 “The import junit cannot be resolved”的提示错误

笨死了,刚刚在Eclipse里面导入一个项目,用的是Junit做单元测试,直接导入的结果是100多个“The import junit cannot be resolved”的错误,百度一下,解决了……做个小记录,下次别忘了……

在项目上点击右键--->Properties--->Java Build Path--->(Libraries标签)add Library-->JUnit-->Next-->Finish

猜你喜欢

转载自blog.csdn.net/weixin_38970751/article/details/83451085
今日推荐