Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unable to create a Maven project
Unable to create a Maven project [message #1810647] Thu, 15 August 2019 06:44 Go to next message
Ya Raymond is currently offline Ya RaymondFriend
Messages: 10
Registered: August 2019
Junior Member
After selecting the archetype to create a Maven project the following error occured:

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): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
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): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


When i tried creating a simple Maven project without selecting the archetype there was also the following error:
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6

Do you know what the problem could be?
Re: Unable to create a Maven project [message #1810652 is a reply to message #1810647] Thu, 15 August 2019 08:23 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30644
Registered: July 2009
Senior Member
It's the same underlying problem. It's similar to this

https://stackoverflow.com/questions/21076179/pkix-path-building-failed-and-unable-to-find-valid-certification-path-to-requ

The only effective solution is to update your Java installation's certificate store, which is complex and took me an hour to figure out when I was not able to access update sites on sourceforge for this same reason.

You might try installing Java 12 and hope that works better, but that's not a great solution either and it too might have this problem.
Re: Unable to create a Maven project [message #1810820 is a reply to message #1810652] Tue, 20 August 2019 08:32 Go to previous message
Ya Raymond is currently offline Ya RaymondFriend
Messages: 10
Registered: August 2019
Junior Member
I have tried to update my java s certification store however there is still the error. Is there any other way i could use maven in the eclipse IDE, would it work to download maven from the apache.maven.org site?
Thank you
Previous Topic:Configuring KURA for AWS
Next Topic:MQTT test broker name change
Goto Forum:
  


Current Time: Tue Nov 19 00:47:23 GMT 2019

Powered by FUDForum. Page generated in 0.02819 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top