"Creating maven-archtype-quickstart" ran into problem

I installed maven 3.3.3 and the installation was successful.

However, when trying to create a maven project in eclipse, I get the following error

'Creating maven-archtype-quickstart' has encountered a problem

Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1
Failure to transfer org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from https://repo.maven.apache.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.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): Connection refused: connect
Failure to transfer org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from https://repo.maven.apache.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.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): Connection refused: connect

      

I added proxy data to my settings.xml (got it from my browser) with / without username

<proxies>
  <proxy>
    <id>462603</id>
    <active>true</active>
    <protocol>http</protocol>
    <username>com\462603</username>
    <password>xxxxxxxx</password>
    <host>proxy.company.com</host>
    <port>6050</port>
    <nonProxyHosts>10.*|*.company.com</nonProxyHosts>
  </proxy>
</proxies>

      

I have listed this .xml option in Eclipse-> Windows-> Preferences-> Maven-> User Preferences

Also added style http://repo1.maven.org/maven2/archetype-catalog.xml in Eclipse-> Windows-> Preferences-> Maven-> Archtype

Also, the error still persists

I know there are many such duplicate questions, but the solutions mentioned in all of this don't work.

+3


source to share





All Articles