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

问题描述

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

解决方案

你的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


解决方案二:

sorry,貌似csdn把xml标签屏蔽了.但是大概意思还在的....

时间: 2024-09-14 07:05:58

error-maven jerry 运行报错 可能是包没有下载全?的相关文章

error-maven 和 jerry 运行报错

问题描述 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

maven项目 mybatis generator运行报错。。。。在线急等!!!

问题描述 maven项目 mybatis generator运行报错....在线急等!!! 执行maven命令:mybatis-generator:generate -e 时报如下错误: Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:genera

SpringMVC+mybatis运行报错

问题描述 SpringMVC+mybatis运行报错 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.sprin

svn-Myeclipse10 Maven pom.xml报错

问题描述 Myeclipse10 Maven pom.xml报错 我电脑上面有eclipse和MyEclipse都有,在eclipse中重SVN上面下载项目没有错!但是在MyEclipse中下载下来pom.xml就报错~! 报错: Project build error: Non-resolvable parent POM: Could not find artifact com.ifec.blueair:blueair-packagemanager:pom:0.0.1-SNAPSHOT and

jsp-JSP代码运行报错,can&amp;amp;#39;t be resolved

问题描述 JSP代码运行报错,can't be resolved 这是我的代码: <%@ page contentType="text/html;charset=GB2312" %> <%@ page import="java.util.*"%> <HTML><BODY> <%! Vector v=new Vector(); ServletContext application; synchronized voi

404错误-win2003 iis6 配置完后 放上去的.net程序运行报错The resource cannot be found.

问题描述 win2003 iis6 配置完后 放上去的.net程序运行报错The resource cannot be found. 安装了framework4.0 iis服务扩展都 允许了 确认程序没问题,数据库连接代码没问题,页面都存在(程序在另一个空间 好着直接 复制过来的) 求教还会有什么问题,网上搜了一大堆 都试过了还是报找不到文件,我直接在iis点击index.aspx预览的 :整一天了 求帮助 Server Error in '/' Application. The resourc

hibernate 运行报错帮忙看看处理下,谢谢

问题描述 hibernate 运行报错帮忙看看处理下,谢谢 INFO: HHH000040: Configuration resource: /hibernate.cfg.xml Exception in thread "main" org.hibernate.MappingException: invalid configuration at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:2158) at

win32-eclipse中File类程序运行报错

问题描述 eclipse中File类程序运行报错 程序如下: package nmd; import java.io.File; public class FileHello { public static void main(String[] args) { try { Runtime ec=Runtime.getRuntime(); File file=new File("file.txt"); ec.exec(file.getAbsolutePath()); } catch (E

spring-项目在eclipse上运行报错,在myeclipse上没有问题

问题描述 项目在eclipse上运行报错,在myeclipse上没有问题 2015-04-28 11:16:55.704 |05KXN3W7T8U842C| [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean wit