无法运行泽西样本项目

时间:2017-05-30 19:10:20

标签: java maven jersey jersey-2.0

我从github下载了jersey repo,我正在尝试运行示例项目,特别是examples/oauth2-client-google-webapp。当我运行mmvn clean package jetty:run时,我收到以下错误:

[ERROR]   The project org.glassfish.jersey.examples:oauth2-client-google-webapp:2.26-SNAPSHOT
       (/home/user/test/jersey/examples/oauth2-client-google-webapp/pom.xml) 
        has 4 errors
[ERROR]     Non-resolvable import POM: Failure to find org.glassfish.jersey:jersey-bom:pom:2.26-SNAPSHOT 
     in https://maven.java.net/content/repositories/releases was cached in the 
     local repository, resolution will not be reattempted until the update interval of java.net-releases has elapsed or updates are forced @ org.glassfish.jersey.examples:project:2.26-SNAPSHOT, /home/user/test/jersey/examples/pom.xml, line 136, column 25 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for 
    org.glassfish.jersey.containers:jersey-container-grizzly2-servlet:jar is 
    missing. @ line 82, column 21
[ERROR]'dependencies.dependency.version' for 
    org.glassfish.jersey.ext:jersey-mvc-bean-validation:jar 
    is missing. @ line 86, column 21
[ERROR]'dependencies.dependency.version' for
     org.glassfish.jersey.ext:jersey-mvc-mustache:jar is missing.
     @ line 90, column 21

可能是什么问题?我该如何解决?

0 个答案:

没有答案