zoukankan      html  css  js  c++  java
  • maven项目建立pom.xml报无法解析org.apache.maven.plugins:maven-resources-plugin:2.4.3

    一、发现问题
    建立maven项目后,pom.xml在显示红叉。鼠标放上去,显示Executiondefault-testResources of goalorg.apache.maven.plugins:maven-resources-plugin:2.4.3错误。


    二、原因分析
    缺少maven-resources-plugin-2.4.3.jar或该文件下载不对,可到repositoryorgapachemavenpluginsmaven-resources-plugin文件夹看看下载是否正确。

    或删除该文件又一次下载。

     

    三、解决的方法

    步骤一:
    pom.xml文件增加
    <dependency>
     
      <groupId>org.apache.maven.plugins</groupId>
     
      <artifactId>maven-resources-plugin</artifactId>
     
      <version>2.4.3</version>
    </dependency>

    步骤二:run as —> maven install下载就可以
  • 相关阅读:
    SQL SEREVR IO
    INTEL
    windows performance
    The DiskSpd Storage Performance Tool
    machine Learning
    NOSQL
    X64 Deep Dive
    Debugging and performance,ETW
    Disk Performance
    WCF transport-and-message-security
  • 原文地址:https://www.cnblogs.com/bhlsheji/p/5123361.html
Copyright © 2011-2022 走看看