【问题标题】:Maven- Error building pomMaven - 构建 pom 时出错
【发布时间】:2014-11-30 09:45:48
【问题描述】:

在尝试mvn clean install 时出现以下错误:

[INFO] Error building POM (may not be this project's POM).


Project ID: org.codehaus.plexus:plexus-components:pom:1.1.15

Reason: Cannot find parent: org.codehaus.plexus:plexus for project: org.codehaus.plexus:plexus-components:pom:1.1.15 for project org.codehaus.plexus:plexus-components:pom:1.1.15

当我以 root 用户身份使用 mvn clean install 时,同样有效。可能的原因是什么?

【问题讨论】:

  • 请复制粘贴您的 pom 文件以查看。我认为你的 pom 文件有问题。

标签: java maven spring-mvc plexus


【解决方案1】:

按照以下步骤操作:-

  • 将 maven 更新到版本 3。
  • 已删除 .m2/org/codehaus 文件夹。
  • 构建项目。

    问题已解决!

【讨论】:

    猜你喜欢
    • 2019-04-15
    • 2018-07-18
    • 2016-01-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-07-07
    • 1970-01-01
    • 2011-11-29
    相关资源
    最近更新 更多