Tagged: myeclipse-maven-issue
- This topic has 30 replies, 17 voices, and was last updated 4 years, 6 months ago by support-swapna.
-
AuthorPosts
-
support-swapnaModeratorRamya,
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
poojabhargudeParticipantCould 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 outI am getting this error.
Eclipse details
Eclipse Java EE IDE for Web Developers.Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
poojabhargudeParticipanti 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 outI am getting this error.
Eclipse details
Eclipse Java EE IDE for Web Developers.Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
support-swapnaModeratorPooja,
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
mozhiParticipantDear Team, Still facing connection timeout issue.
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 outTrried:
Have added settings.xml
Tried with deleting the folders in .m2 directory
Have externally installed maven and mapped the same in Eclipse IDE
Software details:
java:
java 8
Eclipse:
Eclipse IDE for Java Developers
Version: 2019-06 (4.12.0)
Build id: 20190614-1200Please suggest me.
support-swapnaModeratormozhi,
Sorry that you are seeing this issue.
Did you check if you can reach https://repo.maven.apache.org/maven2 via the Eclipse internal browser?It looks like a configuration problem and you should check with your administrator about access to the repository and recheck if the settings.xml has the same proxy configuration as your browser.
I suggest you cross post to Eclipse or development related forums like stackoverflow for better suggestions from the dev community.
Hope this helps. Sorry that we couldn’t assist further.
–Swapna
Genuitec Support
pradeep2929ParticipantCould 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 have updated proxy details as well in settings.xml file but no luck.
Any suggestions are welcome.Regards,
Pradeep
support-swapnaModeratorPradeep,
Sorry that you are seeing this issue.
Are you working with MyEclipse IDE or Eclipse IDE? Did you check if you can access the repo : https://repo.maven.apache.org/maven2 from the internal browser?
As I mentioned in my earlier responses, it looks like a configuration problem, so please check if there is any security rule on your network which might be preventing the access.If you are working with MyEclipse, then please share with us the MyEclipse version details from Help > About MyEclipse section along with the workspace log which is located at workspace dir/.metadata/.log (rename the file extension to .txt and attach it) to help us investigate further.
–Swapna
Genuitec Support
shardhaParticipantHi All,
Please help me in resolving the below issue.
When i am trying to creating an maven project, i unable to do it.
Do i need to set proxy or fairwall? if so, how can i do, please help.
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorShardha,
Please see this FAQ on how to setup proxy information in the IDE : https://www.genuitec.com/forums/topic/configuring-the-network-proxy-settings/
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-proxyPlease also check if you are able to access the Maven central repository url from your browser to rule out network configuration related issues.
I suggest you take a look at my previous responses on this post and if none of the suggestions help, then please cross post to Eclipse or development related forums like stackoverflow.com for further help with Maven + Eclipse.Hope this helps.
–Swapna
Genuitec Support
erchidambaramParticipantI am getting the below error while creating the simple maven web project via eclipse, I am under proxy
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): Connection reset
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from/to central (https://repo.maven.apache.org/maven2): Connection resetmy eclipse version : MyEclipse Enterprise Workbench
Version: CI 2019.4.0
Build id: 16.0.0-20190403Apache version
C:\apache-maven-3.2.3Updated settings xml with proxy details
also updated my eclipse with proxy details and also set the Provider as Manual.Attachments:
You must be logged in to view attached files.
vemulacvaParticipantjust remove .m2 folder and perform to recreate maven project.
.m2 file will be in the folder path example “C:\Users\cva”
ashwinpillai250898ParticipantAshwin here,
I tried the above fix of creating a new settings file because there was no settings.xml file in my .m2 folder but after updating the settings and reindexing i applied the settings but nothing was being downloaded.
Then i tried to create a new maven project but this error showed up.
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.
Could not write artifact lastUpdated status
C:\Program Files\eclipse\Users\pilla\.m2\repository\org\apache\maven\archetypes\maven-archetype-quickstart\RELEASE\m2e-lastUpdated.properties (The system cannot find the path specified)
support-swapnaModeratorAshwin,
From the error it looks like a permissions issue when trying to create the lastUpdated.properties file. The path in the error is also not looking right –
C:\Program Files\eclipse\Users\pilla\.m2\repository\org\apache\maven\archetypes\maven-archetype-quickstart\RELEASE\m2e-lastUpdated.properties
.Similar error is discussed here : https://stackoverflow.com/questions/47949424/cannot-create-a-new-maven-project-in-eclipse
If you are working with Windows 10, then it is better to move the Eclipse installation folder outside of C:\Program Files as the Program Files folder is pretty restrictive in nature.
For further support, please post to Eclipse/Maven related forums or development related forums like stackoverflow.com.
–Swapna
Genuitec Support- This reply was modified 4 years, 6 months ago by support-swapna.
- This reply was modified 4 years, 6 months ago by support-swapna.
-
AuthorPosts