Could not resolve archetype when creating a Maven Project

This topic contains 18 replies, has 10 voices, and was last updated by  support-swapna 4 days, 2 hours ago.

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #617617 Reply

    support-swapna
    Moderator

    Ramya,

    Sorry that you are seeing this issue.
    It looks like a problem accessing the Maven Central repository ( https://repo.maven.apache.org/maven2). Maybe there’s some certificate issue on your Java installation or some security rule on you network infrastructure preventing the access.

    Are you behind a firewall or proxy? If yes, then did you configure the proxy information in the IDE here : Window > Preferences > General > Network Connections? In addition to configuring the proxy in the IDE, you should also create a settings.xml file for Maven to access internet behind the proxy. Please see this thread for more details about configuring Maven to work with proxy : https://stackoverflow.com/questions/25911623/problems-using-maven-and-ssl-behind-proxy

    If you are able to access the Maven central repository url from your browser and if the proxy is correctly configured, then it could be a problem with the certificates in your java installation which is used to start the IDE. Please see this thread for more details about how to install the correct certificates to the JDK installation : https://stackoverflow.com/questions/21076179/pkix-path-building-failed-and-unable-to-find-valid-certification-path-to-requ

    If you are still seeing problems, then please share with us the MyEclipse version details from Help > About MyEclipse section along with the JDK version that is used to start the MyEclipse IDE ( see the -vm arg in the myeclipse.ini file located in the MyEclipse installation folder for the information). Also share with us the complete workspace log file which is located at workspace dir/.metadata/.log to help us investigate further. Save the .log as .txt file and attach it here.

    Apologies for inconvenience caused. Please let us know how you get on with it.

    –Swapna
    Genuitec Support

    #618136 Reply

    poojabhargude
    Participant

    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
    Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
    Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out

    I am getting this error.

    Eclipse details
    Eclipse Java EE IDE for Web Developers.

    Version: Neon.3 Release (4.6.3)
    Build id: 20170314-1500

    #618137 Reply

    poojabhargude
    Participant

    i am unable to create maven project

    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
    Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
    Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out

    I am getting this error.

    Eclipse details
    Eclipse Java EE IDE for Web Developers.

    Version: Neon.3 Release (4.6.3)
    Build id: 20170314-1500

    #618138 Reply

    support-swapna
    Moderator

    Pooja,

    Sorry that you are seeing this issue. I see that you are working with Eclipse.
    Are you working with any of our products?

    I suggest you take a look at my previous responses on this thread and try the suggestions.
    If you are still seeing problems, then please cross post to development related forums like stackoverflow.com or Eclipse forums for better support from dev community.

    Hope this helps. Please let us know if have any further questions.

    –Swapna
    Genuitec Support

Viewing 4 posts - 16 through 19 (of 19 total)
Reply To: Could not resolve archetype when creating a Maven Project

You must be logged in to post in the forum log in