搭建maven工程常见问题

Myeclipse
1.当项目右键run as 没有maven 的时候,就是没有导入setting文件,重新导入setting文件.
2.项目右键run as 运行maven 没有日志,就是没有配置maven路径,查看
3.项目无法编译,就是没有配置自动编译插件.
4.运行maven工程的时候报 child module of parent not find.,找到pom文件里面,找出子模块,可能是之前创建时删除导致的,删掉就好了.
5.[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 就是没有指定编译JDK ,项目右键打开properties >java compiler > building>选择enable
还有就是配置java编辑器,,maven编译环境必须是jdk,导入jdk的时候路径一定要对
6No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
这里写链接内容

猜你喜欢

转载自blog.csdn.net/qq_34025787/article/details/78924922