等晨光的小草 2015-02-15 12:50 采纳率: 0%
浏览 3667

maven jerry 运行报错 可能是包没有下载全?

[ERROR] Failed to execute goal org.mortbay.jetty:jetty-maven-plugin:8.1.16.v20140903:run (default-cli) on project demo: Execution default-cli of goal org.mortbay.jetty:jetty-maven-plugin:8.1.16.v20140903:run failed: Plugin org.mortbay.jetty:jetty-maven-plugin:8.1.16.v20140903 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.eclipse.jetty:jetty-util:jar:8.1.16.v20140903, org.eclipse.jetty:jetty-webapp:jar:8.1.16.v20140903, org.apache.maven.plugin-tools:maven-plugin-tools-api:jar:2.9, org.eclipse.jetty:jetty-plus:jar:8.1.16.v20140903, org.eclipse.jetty:jetty-jndi:jar:8.1.16.v20140903, org.eclipse.jetty:jetty-jmx:jar:8.1.16.v20140903, org.eclipse.jetty:jetty-annotations:jar:8.1.16.v20140903, org.eclipse.jetty:jetty-websocket:jar:8.1.16.v20140903, org.eclipse.jetty:jetty-jsp:jar:8.1.16.v20140903, org.codehaus.plexus:plexus-utils:jar:1.1: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.eclipse.jetty:jetty-util:jar:8.1.16.v20140903 has not been downloaded from it before. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

  • 写回答

2条回答 默认 最新

  • 碧子 2015-02-26 01:51
    关注

    你的pom怎么配置的?我的就可以:

    <!-- jetty插件, 设定context path与spring profile -->

    org.mortbay.jetty
    jetty-maven-plugin
    8.1.10.v20130312


    org.apache.maven.plugins
    maven-compiler-plugin
    3.1

    1.7
    1.7
    UTF8


    
    
    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog