为了账号安全,请及时绑定邮箱和手机立即绑定

编译报错a

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[ERROR] Malformed POM C:\code\maven01\pom.xml: Unrecognised tag: 'artifacteId' (

position: START_TAG seen ...</groupId>\n\t<artifacteId>... @8:15)  @ C:\code\mav

en01\pom.xml, line 8, column 15

[FATAL] 'artifactId' is missing. @ line 5, column 97

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project com.imooc.maven01:[unknown-artifact-id]:0.0.1SNAPSHOT (C:\

code\maven01\pom.xml) has 2 errors

[ERROR]     Malformed POM C:\code\maven01\pom.xml: Unrecognised tag: 'artifacteI

d' (position: START_TAG seen ...</groupId>\n\t<artifacteId>... @8:15)  @ C:\code

\maven01\pom.xml, line 8, column 15 -> [Help 2]

[ERROR]     'artifactId' is missing. @ line 5, column 97

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[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 rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseExce

ption


正在回答

1 回答

[ERROR]     Malformed POM C:\code\maven01\pom.xml: Unrecognised tag: 'artifacteI

d' (position: START_TAG seen ...</groupId>\n\t<artifacteId>... @8:15)  @ C:\code

\maven01\pom.xml, line 8, column 15 -> [Help 2]

[ERROR]     'artifactId' is missing. @ line 5, column 97

没有配置artifactId标签

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
项目管理利器——maven
  • 参与学习       173090    人
  • 解答问题       742    个

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

进入课程

编译报错a

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信