Adding org.glassfish.jersey.archetypes in eclipse

来源:互联网 发布:淘宝海外转运 编辑:程序博客网 时间:2024/06/04 23:34

You can solve this issue by adding a new Maven Archetype.

  1. Open Window > Preferences
  2. Open Maven > Archetypes
  3. Click Add Remote Catalog and add the following:
    • Catalog Filehttp://repo1.maven.org/maven2/archetype-catalog.xml
    • Descriptionmaven catalog
  4. Restart eclipse

Try creating a maven project again. It will work :).


上面为远程获得的方式!

可以把archetype-catalog.xml文件按上面的网址下下来,本地配置一下。

0 0