Maven error - can't create Maven project in eclipse

最后都变了- 提交于 2019-12-12 01:23:51

问题


After try this getting below error

Log Shows:

Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories. Could not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 Could not transfer artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from/to central (https://repo.maven.apache.org/maven2): connect timed out Could not transfer artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from/to central (https://repo.maven.apache.org/maven2): connect timed out

But in traffic it's showing HTTP 200 PFB

[25/Jan/2019:17:40:20 +0530] "GET https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.jar HTTP/1.1" 200 108711 200 108711 0 0 275 573 222 540 0

Proxy settings.xml:

    <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                              http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <proxies>
        <proxy>
            <active>true</active>
            <protocol>http</protocol>
            <host>***</host>
            <port>8080</port>
            <username>***</username>
            <password>***</password>
        </proxy>

    </proxies>
</settings>

Any help would be appreciated.

来源:https://stackoverflow.com/questions/54348492/maven-error-cant-create-maven-project-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!