Maven 构建 - 未找到主类
我在使用 Maven 时遇到了一些问题。它曾经工作得很好,直到几分钟前...
这就是我现在尝试构建时得到的结果:
测试
错误:无法找到或加载主类 Files\Java\jdk1.7.0_03\bin;C:\ Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ImageMagick;C:\Program
结果:
测试运行:0,失败:0,错误:0,跳过: 0
pom.xml 文件没问题...一切正常,但现在我无法再构建它了。尝试重新安装java,maven,一切......
I have some problems with maven. It used to work just fine until a few minutes ago...
This is what i get whenever i try to build now:
T E S T S
Error: Could not find or load main class Files\Java\jdk1.7.0_03\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ImageMagick;C:\Program
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
pom.xml files are okay...Everything worked and now i cant get it to build anymore. Tried reinstalling java, maven, everything...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的路径中有一个 SPACE 且未用引号引起来。
以下内容看起来正确吗?
不,不是,它表明您在 Windows 计算机上并且路径被空格分割,您需要将它们包装在 " 中
You have a SPACE in a path that isn't wrapped with quotes.
Does the following look correct?
No it isn't, it indicates that you are on a Windows machine and the path is being split on a space, you need to wrap them in "