Eclipse Luna“无法确定 /project/src/com/.../classFile.java 的 URI”(Windows 8)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/28367940/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 05:29:22  来源:igfitidea点击:

Eclipse Luna "cannot determine URI for /project/src/com/.../classFile.java" (windows 8)

eclipsepathprojecteclipse-luna

提问by user2154768

Just installed Eclipse LUNA, and converted my old JUNO workspace. It worked on one of my computers fine (win7), but using the same project on my other computer (win8, synced via dropbox) created this issue for all opened files, and nothing shows up in my package explorer. Always worked fine with JUNO.

刚刚安装了 Eclipse LUNA,并转换了我的旧 JUNO 工作区。它在我的一台计算机上运行良好(win7),但是在我的另一台计算机(win8,通过 dropbox 同步)上使用相同的项目为所有打开的文件创建了这个问题,并且我的包浏览器中没有任何显示。始终与 JUNO 一起工作得很好。

回答by LKHennessy

Inside package explorer, right click -> import -> General -> Existing Projects into Workspace -> next -> find your project in "Select root directory" -> Finish.

在包资源管理器中,右键单击 -> 导入 -> 常规 -> 现有项目到工作区 -> 下一步 -> 在“选择根目录”中找到您的项目 -> 完成。

If only some projects or files are missing or the above doesn't work then a similar method using General/File System can be used where you choose the specific files to import.

如果仅缺少某些项目或文件或上述方法不起作用,则可以使用使用 General/File System 的类似方法选择要导入的特定文件。