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

运行mvn compile 是出错

F:\maven\code\maven01>mvn compile

[INFO] Scanning for projects...

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

[FATAL] Non-parseable POM F:\maven\code\maven01\pom.xml: TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...<artifactId>junit<artifactId>... @13:30)  @ line 13, column 30

 @

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

[ERROR]

[ERROR]   The project  (F:\maven\code\maven01\pom.xml) has 1 error

[ERROR]     Non-parseable POM F:\maven\code\maven01\pom.xml: TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...<artifactId>junit<artifactId>... @13:30)  @ line 13, column 30 -> [Help 2]

[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


正在回答

1 回答

<artifactId>junit</artifactId>,标签没有封闭</artifactId>

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

哈哈哈小宇 提问者

非常感谢!
2018-04-19 回复 有任何疑惑可以回复我~

举报

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

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

进入课程

运行mvn compile 是出错

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