关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 7847|回复: 0

关于配置maven项目出现的问题

[复制链接]
发表于 2017-3-28 15:13:06 | 显示全部楼层 |阅读模式
出现这样的错误是哪里没有配置好呢?求解答.
[ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:run (default-cli) on project jeecgos: Execution default-cli of goal org.codehaus.mojo:tomcat-maven-plugin:1.1:run failed: Plugin org.codehaus.mojo:tomcat-maven-plugin:1.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-plugin-api:jar:2.0.8, org.apache.maven:maven-artifact-manager:jar:2.0.8, org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5, org.apache.maven:maven-artifact:jar:2.0.8, org.apache.maven:maven-project:jar:2.0.8, org.apache.maven:maven-archiver:jar:2.2, org.codehaus.plexus:plexus-utils:jar:1.0.4, commons-codec:commons-codec:jar:1.3, org.apache.tomcat:catalina:jar:6.0.29, org.apache.tomcat:catalina-ha:jar:6.0.29, org.apache.tomcat:tribes:jar:6.0.29, org.apache.tomcat:el-api:jar:6.0.29, org.apache.tomcat:jasper:jar:6.0.29, org.apache.tomcat:jasper-el:jar:6.0.29, org.apache.tomcat:jasper-jdt:jar:6.0.29, org.apache.tomcat:jsp-api:jar:6.0.29, org.apache.tomcat:servlet-api:jar:6.0.29, org.apache.tomcat:coyote:jar:6.0.29, org.apache.tomcat:dbcp:jar:6.0.29: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven:maven-plugin-api:jar:2.0.8 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/confluen ... ResolutionException


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表