我知道这是重复的问题。但是,对先前问题的任何回答都无济于事。 我在Eclipse中创建了一个非常简单的spring boot项目。它可以在linux中运行。但是在Windows中,pom.xml第一行出现以下错误。
Project build error: Non-parseable POM
C:\Users\DELL\.m2\repository\io\netty\netty-bom\4.1.25.Final\netty-bom-
4.1.25.Final.pom: processing instruction can not have PITarget with reserved
xml name (position: END_TAG seen ...</dependencyManagement>\n</project>\n<?
xml ... @236:7)
运行以下错误时
C:\Users\DELL\eclipse-workspace\demo>mvn clean install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM C:\maven-repo\repository\io\netty\netty-bom\4.1.25.Final\netty-bom-4.1.25.Final.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</dependencyManagement>\n</project>\n<?xml ... @236:7) @ C:\maven-repo\repository\io\netty\netty-bom\4.1.25.Final\netty-bom-4.1.25.Final.pom, line 236, column 7
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.springboot:demo:0.0.1-SNAPSHOT (C:\Users\DELL\eclipse-workspace\demo\pom.xml) has 1 error
[ERROR] Non-parseable POM C:\maven-repo\repository\io\netty\netty-bom\4.1.25.Final\netty-bom-4.1.25.Final.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</dependencyManagement>\n</project>\n<?xml ... @236:7) @ C:\maven-repo\repository\io\netty\netty-bom\4.1.
25.Final\netty-bom-4.1.25.Final.pom, line 236, column 7 -> [Help 2]
[ERROR]<br>
[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
我为此尝试了大约三天,但现在我不知道如何解决此错误。请有人帮我。