Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是新手。我从 github 下载了一个项目。我可以正确地运行这个项目。但是当我编写一个新的 java 文件时,新的 java 文件在 Eclipse 中显示问号(?)。它显示
"Error: Could not find or load main class com.talis.hbase.rdf.examples.Test"
我该如何解决这个错误?顺便说一句,在命令行中,运行这个 java 文件,没有错误。
我删除了 Eclipse 工作场所中的 .metadata 文件。并重新导入项目。这可能是有风险的。但这对我来说没关系。
问号表示该文件尚未提交到 GIT 存储库。