开发者社区> 问答> 正文

myeclipse建立web 项目 增加maven支持 在pom.xml里总是报错?报错

报错信息:

Multiple annotations found at this line:

  • No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the repositories [local (C:\Users\haosu.zhang.m2\repository), central 
    (http://repo1.maven.org/maven2)]
  • Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will 
    not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-
    plugin:pom:2.4.3 from/to central (http://repo1.maven.org/maven2): Access denied to http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/
    maven-resources-plugin-2.4.3.pom. Error code 403, Forbidden ( Forefront TMG denied the specified Uniform Resource Locator (URL). )

展开
收起
爱吃鱼的程序员 2020-06-10 13:27:15 667 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    你配置mvn环境了吗?

    关于项目中pom.xml的编辑,可关注:http://git.oschina.net/wangkang/llsfw

    希望能够帮到你

    2020-06-10 13:27:30
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Web应用系统性能优化 立即下载
高性能Web架构之缓存体系 立即下载
PWA:移动Web的现在与未来 立即下载

相关镜像