简体   繁体   English

找不到Eclipse Luna JUnit源位置

[英]Eclipse Luna JUnit Source location not found

Just reformatted my PC and trying to get my JUnit tests to work on eclipse. 只需重新格式化我的PC并尝试使我的JUnit测试在Eclipse上运行即可。

When I right click my project > Build Path > Add Libraries, and select JUnit 4 (or 3), it says 当我右键单击我的项目>构建路径>添加库,然后选择JUnit 4(或3)时,它说

Source Location: Not found. 源位置:找不到。

A few things came up on google but it was suggesting I edit files that I don't have in my eclipse configuration folder, so assume it's to do with older versions. Google发生了一些事情,但这表明我编辑了我的eclipse配置文件夹中没有的文件,因此假定与旧版本有关。

在此处输入图片说明

You might have to reinstall the junit plugin. 您可能必须重新安装junit插件。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM