Problems with maven in eclipse

0

I'm having problems working with maven, both eclipse and netbeans.

I get an error when generating a project:

  

could not resolve archetype org.apache.maven.archetypes: maven-archetype-quickstart: 1.1 from any of the configured repositories

I tell you what I have in case some step is wrong but I have been reviewing and I can not find a way to solve it.

I downloaded the folder in D and from environment variable MAVEN_HOME I call the root D:\apache-maven-3.3.9 and in path I call maven_home . In the configuration of the eclipse windows-preferences-archetypes-remote http:// repo.maven.apache.org/maven2/archetype-catalog.xml .

The truth is that I've searched a lot on the Internet but I can not find the solution so I can work with maven.

    
asked by kiristof 26.08.2016 в 11:10
source

1 answer

2

question, does your connection network have a restrictive traffic policy? It sounds to me that probably some firewall is blocking the network traffic to Maven repositories.

Try the following, from eclipse: Open Window > Preferences Open Maven > Archetypes Click 'Add Remote Catalog' and add the following: Catalog File: link Description: maven catalog

Review settings in connection parameters:

1) Window - > Preferences - > General - > Network Connections. Put the address and port of the proxy you use.

Take a tour of this question: Can not create Maven Project in eclipse

    
answered by 26.08.2016 в 16:48