等晨光的小草 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 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?