打包报错请帮忙看看

来源:2-6 项目打包

黎庆明0

2021-03-18 20:45:50

[INFO] Scanning for projects...

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

[FATAL] Non-parseable POM D:\Soft\eclipseEE\workspace\maven-first\pom.xml: end tag name </configuration> must match start tag name <ar> from line 43 (position: TEXT seen ...<ar>\r\n    \r\n    </configuration>... @45:21)  @ line 45, column 21

 @ 

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

[ERROR]   

[ERROR]   The project  (D:\Soft\eclipseEE\workspace\maven-first\pom.xml) has 1 error

[ERROR]     Non-parseable POM D:\Soft\eclipseEE\workspace\maven-first\pom.xml: end tag name </configuration> must match start tag name <ar> from line 43 (position: TEXT seen ...<ar>\r\n    \r\n    </configuration>... @45:21)  @ line 45, column 21 -> [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回答

好帮手慕小班

2021-03-19

同学你好,根据贴出的报错信息:

http://img.mukewang.com/climg/60540fec097af06508590303.jpg

在pom.xml文件中有一个错误,必须匹配一个</configuration>的起始标签,同学可以检查一下自己的pom文件中是否没有正确闭合书写<configuration></configuration>标签。

祝学习愉快!

0

0 学习 · 16556 问题

查看课程