问题
I am trying to create a Webapp using Maven Jersey archetype, but while I am searching it, it's not giving me any result.
Can you please if I need to set up anything for this or how do I get the search result for this?
Expected:
Actual:
回答1:
You need to add the Jersey Maven Archetype to your Eclipse because your catalog is not the lastest version.
Go to Preferences -> Maven -> Archetypes ->Add Remote Catalog and add these parameters:
Catalog File: http://repo1.maven.org/maven2/archetype-catalog.xml
Description: maven catalog
Note: Probably It's necesary to restart your Eclipse.
来源:https://stackoverflow.com/questions/46646253/eclipse-java-how-do-i-include-jersey-archetype-in-maven