简体   繁体   中英

Maven archetype error in eclipse

I have installed eclipse neon 64 bit on windows 7 enterprise. I am trying to create a maven project but everytime i am receiving an error--{ Could not resolve archetype from any of the configured repositories}--. I have checked the settings.xml file and added catalog too but still cant get rid of this error. any suggestions. Thanks. This is the error image in eclipse

You could create it using command line:

mvn archetype:generate -DgroupId=com.mycompany.app 
    -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart

And then import into the Eclipse using File -> Import -> Existing Maven Project. The result will be the same.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM