zoukankan      html  css  js  c++  java
  • Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.3

    Maven 导入项目时报错:

    Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3
    Plugin org.apache.maven.plugins:maven-war-plugin:2.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3

    ..................................

    解决办法:

    1.清除你的仓库

    (默认为:C:Users用户名.m2 epositoryorgapachemavenpluginsmaven-war-plugin2.3)

     目录下的m2e-lastUpdated.properties文件

    2.项目右键,Run As-->Maven clean

    3.项目右键,Run As-->Maven install

    4.项目右键,Maven-->Update Project..

    5.刷新或者清理一下项目。over!

  • 相关阅读:
    2014年之新年新愿
    C#解析Xml的Dom和Sax方式性能分析
    WCF协议与绑定
    使用SqlServer数据批量插入
    跨站脚本攻击XSS
    疯狂的JSONP
    SQLiteOpenHelper
    Android常用的UI布局
    Android用户界面
    ListView
  • 原文地址:https://www.cnblogs.com/daxigua/p/9257502.html
Copyright © 2011-2022 走看看