eclipse-->run as-->maven install 报错解决方法
2013-10-19 17:40
281 查看
最近在用eclipse+maven 框架做项目,更新maven时老是报maven插件有问题,具体信息如下:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cigna-local-web-app 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.110s
[INFO] Finished at: Sat Oct 19 14:27:59 CST 2013
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.8
from/to central (http://repo.maven.apache.org/maven2): java.net.ConnectException: connection timed out to
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.pom -> [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
原因是缺少了maven插件的jar,而maven插件的jar是通过setting.xml配置的(具体的将是maven 的仓库),在eclipse中window-->preference-->maven--user Settings 配置
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cigna-local-web-app 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.110s
[INFO] Finished at: Sat Oct 19 14:27:59 CST 2013
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.8
from/to central (http://repo.maven.apache.org/maven2): java.net.ConnectException: connection timed out to
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.pom -> [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
原因是缺少了maven插件的jar,而maven插件的jar是通过setting.xml配置的(具体的将是maven 的仓库),在eclipse中window-->preference-->maven--user Settings 配置
相关文章推荐
- 解决方法:Eclipse的 window-->preferences里面没有Android选项
- 安装安卓->启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 在Android项目中,eclipse->project->clean之后 R文件消失 解决方法
- 解决方法:Eclipse的 window-->preferences里面没有Android选项
- 在eclipse中运行工程时 出现<ConnectionProperties> <PropertyCategory name="Connection/Authentication">的解决方法
- 在eclipse中运行工程时 出现<ConnectionProperties> <PropertyCategory name="Connection/Authentication">的解决方法
- Don't know how to iterate over supplied "items" in &lt;forEach&gt;问题的解决方法
- 通过miscdevice获得驱动私有数据结构体时file->private_data为空的解决方法
- 在使用macbook pro过程中遇到 <此apple id尚未用于App Store>,解决方法!
- 关于八数码问题中的状态判重的三种解决方法(编码、hash、<set>)
- 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int---->解决方法
- 使用<a>标签提交action会执行两次后台方法的原因(反射机制小实例问题的解决)
- 解决“<script src=http://3b3.org/c.js> </script>”SQL注入方法
- eclipse总是弹出 Errors running builder 'JavaScript Validator'解决方法
- <input type="file" name="filePath" />最简单的解决方法
- Illegal connection port value '3306>]解决方法
- Eclipse+CDT+MinGW出错:Error: Cannot run program "gcc": ????????解决方法
- Eclipse或MyEclipse 报错 “build path contains duplicate entry..."解决方法
- (Android) Eclipse "launching delegate" 停在 27%的解决方法
- eclipse Failed to create the part's controls 解决方法