I am following Java Brains' Maven tutorials to learn maven. In the tutorials, when creating a new Maven Project
, and searching " webapp ", there will be an artifact with an id " javaee6 " (and many others).
However, in my case, I only see 2 archetypes:
I am using Eclipse Luna (4.4.1) with the latest version of Eclipse Maven Integration . What is wrong here, and how can I resolve this problem?
These archetypes are available in maven central. http://repo1.maven.org/maven2/archetype-catalog.xml
To add this catalog go to: Window / Preferences / Maven / Archetype / Add Remote Catalog...
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.