Maven没有创建项目

时间:2019-01-16 22:01:52

标签: java eclipse maven

我正在尝试从Eclipse创建一个Java Maven项目。尝试创建项目时出现错误

  

“无法解析原型”

下面是错误的屏幕截图。如果有人可以帮助我,请告诉我。

Could not resolve archetype org.glassfish.jersey.archetypes:jersey-quickstart-webapp:2.27 from any of the configured repositories.
Could not resolve artifact org.glassfish.jersey.archetypes:jersey-quickstart-webapp:jar:2.27
Failure to transfer org.glassfish.jersey.archetypes:jersey-quickstart-webapp:jar:2.27 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jersey-quickstart-webapp-repo has elapsed or updates are forced. Original error: Could not transfer artifact org.glassfish.jersey.archetypes:jersey-quickstart-webapp:jar:2.27 from/to jersey-quickstart-webapp-repo (http://repo1.maven.org/maven2): Failed to transfer 

1 个答案:

答案 0 :(得分:0)

尝试在创建时单击创建简单项目(跳过原型选择)框