【发布时间】:2021-07-07 20:51:24
【问题描述】:
我在使用 maven 时遇到错误。它在 VS Code 中使用该工具添加了一个依赖项,并在 .我试图重新启动 vs 代码,因为它可能是一个错误,但显然不是。 调试错误消息:
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM c:\Users\wikim\Desktop\Java\argbot\pom.xml: Duplicated tag: 'configuration' (position: START_TAG seen ...</dependencies>\r\n <configuration>... @80:24) @ line 80, column 24
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project (c:\Users\wikim\Desktop\Java\argbot\pom.xml) has 1 error
[ERROR] Non-parseable POM c:\Users\wikim\Desktop\Java\argbot\pom.xml: Duplicated tag: 'configuration' (position: START_TAG seen ...</dependencies>\r\n <configuration>... @80:24) @ line 80, column 24 -> [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
这里是pom.xml file
【问题讨论】:
标签: java maven visual-studio-code