How to solve Maven issue – Could not resolve archetype org.apache.maven.archetypes from any of the configured repositories.
-
Problem: –
Solution:
Steps to follow:
-
Right click on project
-
click on properties
-
java build path
-
select source
-
add, apply then OK
6. Open window preferences
7. open Maven
7. open Maven
8. deselect all dialog box
9. Open window : preferences, open Maven Archetype, click on ‘Add Remote catalog’ and add Catalog file: http://repo1.maven.org/maven2/archetype-catalog.xml
Description: Maven Catalog.
click on properties, go to java build path
click libraries
add external jars
add, apply ok.
Error Resolved!! YEY!
Error Resolved!! YEY!
This is Nazia. I have recently completed my post-graduation. Later I joined Naveen Automation Labs which is one of the best online training programs and improved my automation skills a lot. I face some difficulties while configuring Maven, so I tried some of the possible ways to solve them, hope this will help you as well.
Cheers!
Nazia
-Naveen AutomationLabs