compile失败

来源:2-2 第一个maven案例hellomaven

慕圣5562775

2020-04-01 17:30

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Malformed POM D:\Maven\mavenCode\pom.xml: Unrecognised tag: 'groupid' (position: START_TAG seen ...</modelVersion>\r\n  <groupid>... @7:12)  @ D:\Maven\mavenCode\pom.xml, line 7, column 12
[FATAL] 'groupId' is missing. @ line 5, column 206
[FATAL] 'artifactId' is missing. @ line 5, column 206
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project [unknown-group-id]:[unknown-artifact-id]:0.0.1SNAPSHOT (D:\Maven\mavenCode\pom.xml) has 3 errors
[ERROR]     Malformed POM D:\Maven\mavenCode\pom.xml: Unrecognised tag: 'groupid' (position: START_TAG seen ...</modelVersion>\r\n  <groupid>... @7:12)  @ D:\Maven\mavenCode\pom.xml, line 7, column 12 -> [Help 2]
[ERROR]     'groupId' is missing. @ line 5, column 206
[ERROR]     'artifactId' is missing. @ line 5, column 206
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException

http://img1.mukewang.com/5e845f1a0001d6c819200468.jpg

写回答 关注

2回答

项目管理利器——maven

使用maven来构建和管理Java项目,从环境配置,到maven核心知识

173033 学习 · 789 问题

查看课程