zoukankan      html  css  js  c++  java
  • 错误:The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details的解决方法

    INFO] ---------------------------< com.tao:jx-web >---------------------------
    [INFO] Building web模块 0.0.1-SNAPSHOT
    [INFO] --------------------------------[ war ]---------------------------------
    [WARNING] The POM for org.apache.httpcomponents:httpcore:jar:4.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for commons-logging:commons-logging:jar:1.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for commons-codec:commons-codec:jar:1.9 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for commons-beanutils:commons-beanutils:jar:1.9.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for org.apache.commons:commons-lang3:jar:3.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for ognl:ognl:jar:3.0.6 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for org.springframework:spring-context:jar:3.0.5.RELEASE is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for org.springframework:spring-web:jar:3.0.5.RELEASE is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for org.jboss.logging:jboss-logging:jar:3.3.0.Final is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for org.hibernate:hibernate-validator:jar:5.2.1.Final is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.0.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for org.apache.cxf:cxf-rt-transports-http:jar:3.0.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for log4j:log4j:jar:1.2.17 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for javax.mail:mail:jar:1.4.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for commons-lang:commons-lang:jar:2.6 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] The POM for org.codehaus.xfire:xfire-core:jar:1.2.6 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jx-web ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 0 resource

     The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

    翻译过来就是:

    POM文件配置中配置的org.codehaus.plexus:plexus-compiler-api:jar无效,传递依赖项(如果有的话)将不可用,请启用调试日志以获得更多详细信息。

    错误原因,jar包在下载过程中出错,可能是断网或者误删或残留都会造成这样的问题

    解决方法:关闭eclipse,找到maven仓库文件夹把jar包全部删除,在网络好的环境中,再大打开eclipse中重新下载jar包。

    自动下载jar包。一旦配置pom文件,只要保存就可自动下载到本地仓库

    maven test的作用

    update project的作用

    maven install 作用

  • 相关阅读:
    SQL Server-数据库架构和对象、定义数据完整性(二)
    SQL Server-语句类别、数据库范式、系统数据库组成(一)
    ASP.NET WebAPi之断点续传下载(下)
    ConcurrentDictionary线程不安全么,你难道没疑惑,你难道弄懂了么?
    ASP.NET WebAPi之断点续传下载(中)
    ASP.NET WebAPi之断点续传下载(上)
    ASP.NET WebAPi(selfhost)之文件同步或异步上传
    JSTL fn:contains()函数
    用jstl标签判断一个字符串是否包含了另一个字符串
    fn:replace()函数
  • 原文地址:https://www.cnblogs.com/niusdtz/p/9521202.html
Copyright © 2011-2022 走看看