摘要:
新建了一个maven project项目,经过一大堆的修改操作之后,突然发现在main方法上右键运行时,竟然提示:错误:找不到或无法加载主类xxx.xxx.xxx可能原因1.eclipse出问题了,在资源文件夹src/main/java或者src/main/resources文件夹上右键->Build path -> Remove from Build Path然后再选中java文件夹右键->Build path->Use as Source Folder如果这种方法还是不能解决↓2.编译后文件路径不正确:打开项目根目录.setting文件夹,找到org.eclipse 阅读全文
posted @ 2013-10-08 15:56
周雷
阅读(18167)
评论(1)
推荐(1)
摘要:
maven打包成war时,报错:Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project web_nanchang: Error assembling WAR 阅读全文
posted @ 2013-10-08 15:13
周雷
阅读(63029)
评论(6)
推荐(2)

浙公网安备 33010602011771号