zoukankan      html  css  js  c++  java
  • 解决eclipse创建maven项目报错!Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp

    maveneclipse测试

    我是使用代理上网的。在创建maven时报以下错误:

    Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories.

    7af40a1

    解决办法: 首先找到 config/settting.xml 在里面添加代理信息 ----------  这个是重点:

    <proxies>
    <proxy>
    <id>my-proxy</id>
    <active>true</active>
    <protocol>http</protocol>
    <username>dgfd514</username>
    <password>165415</password>
    <host>10.101.1.6</host>
    <port>80</port>
    <!-- <nonProxyHosts>local.net|some.host.com</nonProxyHosts> -->
    </proxy>

    </proxies>

    然后重创建maven项目,表示本地测试创建成功

  • 相关阅读:
    手机文件夹的emulated什么意思
    数据结构
    Django简介
    forms组件
    前端css
    mysql进阶知识
    mysql入门知识
    html文档知识补充
    前端基础
    python 面试题
  • 原文地址:https://www.cnblogs.com/luxiaorui/p/3930970.html
Copyright © 2011-2022 走看看