this compilation unit is not on the build path of a java project
在eclipse中新建maven project后,会自动生成main\test目录结构,新建一个测试类,然后编辑类文件时,总是提示错误:this compilation unit is not on the build path of a java project。后来在网上找到了解决办法:
需要先安装maven eclipse插件 m2eclipse执行命令 mvn eclipse:
原创
2013-09-08 11:41:35 ·
6253 阅读 ·
0 评论