Eclipse mars 版本运行java项目出现问题: console:错误: 找不到或无法加载主类 Markers:the project was not built due to a



markers:  the project was not built due to "a resource exists with a different case'项目位置',",fix the problem,then try refreshing this project and building it since it may be inconsistent


导入maven项目是 ,项目名前面有一个红叉。其余都没有红叉。
该原因是:调用的重复文件,重复包,大小写不一致造成的,根据‘项目位置’查找相关文件或者相关包。

解决啦


参考:http://blog.sina.com.cn/s/blog_6c1da70601011stf.html

猜你喜欢

转载自blog.csdn.net/qq_33124081/article/details/81001937