Monday, July 8, 2019

How to solve Maven issue - Could not resolve archetype org.apache.maven.archetypes from any of the configured repositories.

How to solve Maven issue - Could not resolve archetype org.apache.maven.archetypes from any of the configured repositories.


  • Problem: - 


Solution
Steps to follow:
  1. Right click on project
  2. click on properties
  3. java build path
  4. select source
  5. add, apply then OK



6. Open window preferences
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.



10. check library, right click on project
click on properties, go to java build path
click libraries
add external jars
add, apply ok. 

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

1 comment:

  1. Pretty section of content. I just stumbled upon your web site and in accession capital to assert that I get actually enjoyed account your blog posts. Any way I’ll be subscribing to your feeds and even I achievement you access consistently fast. powerful marketing tool for business owners

    ReplyDelete

Featured Post

Advanced Selenium Webdriver Interview Questions and Answers in Java

Advanced Selenium Webdriver Interview Questions and Answers in Java Selenium WebDriver - QA Here is the list of Selenium Inte...