首页 > 解决方案 > 处理 POM 时出现 Maven 错误:[致命] 不可解析的 POM...PITarget 带有保留的 xml 名称

问题描述

任何人都知道为什么在 Springsource Tool Suite 中导入 Spring Boot 项目后立即出现此错误:

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM C:\Users\...\.m2\repository\com\fasterxml\oss-parent\33\oss-parent-33.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</profiles>\n\n</project>\n<?xml

我到处寻找,我遇到的唯一类似问题是:

任何帮助将不胜感激。

谢谢!

标签: springeclipsemavenspring-boot

解决方案


显然它与我的代码库或 POM 无关。在我删除“.m2”目录中的所有内容并重建项目后,它开始正常工作。


推荐阅读