CentOS系统中Maven编译出错 dependencies could not be resolved
来源:互联网 发布:mac顶部菜单栏 编辑:程序博客网 时间:2024/06/05 06:56
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building zkui 2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.oschina.net/content/groups/public/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.983 s
[INFO] Finished at: 2016-09-01T19:53:30-07:00
[INFO] Final Memory: 11M/95M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to osc (http://maven.oschina.net/content/groups/public/): maven.oschina.net: Temporary failure in name resolution: Unknown host maven.oschina.net: Temporary failure in name resolution -> [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
解决方法:把/etc/resolv.conf文件打开,最末尾加上以下两行:
# Generated by NetworkManagernameserver 8.8.8.8nameserver 8.8.4.4
- CentOS系统中Maven编译出错 dependencies could not be resolved
- Maven Could not resolve dependencies, artifacts could not be resolved
- 【已解决】NDK下Eclipse中交叉编译C项目出错:Symbol ‘NULL’ could not be resolved(JNI)
- Myeclipse和Maven整合maven-resources-plugin:2.4.3 or one of its dependencies could not be resolved
- Eclipse创建maven项目时报错:maven-resources-plugin:2.5 or one of its dependencies could not be resolved
- Eclipse导入maven项目时报错:maven-resources-plugin:2.5 or one of its dependencies could not be resolved
- Maven : Could not resolve dependencies...
- eclipse中出现type int32_t could not be resolved
- eclipse中出现type int32_t could not be resolved
- NDK开发中Type 'int32_t' could not be resolved
- 解决eclipse中NDK部分函数could not be resolved
- jni开发中遇到的问题2:Type 'JNIEnv' could not be resolved/Type 'jobject' could not be resolved等等
- Extjs中Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamic的解决办法
- Function 'UINT64_C' could not be resolved
- Type 'JNICALL' could not be resolved
- Function 'UINT64_C' could not be resolved
- features:addurl could not be resolved
- Type 'AndroidBitmapInfo' could not be resolved
- 文章标题
- 基于Vue.js的表格分页组件
- yii2.0主从数据库实现源码分析-----(二)
- ndk 少写return 0;引发的血案
- 天气
- CentOS系统中Maven编译出错 dependencies could not be resolved
- pmtest5源码解析——特权级变换与堆栈切换实例详解
- Java NIO系列教程(二) Channel
- hive添加完hive.exec.stagingdir参数,有的SQL报FileNotFoundException错
- 校准raspberry ip 时间的方法
- 更改pip源至国内镜像,显著提升下载速度
- Qt在Windows版发布程序时遇到的问题
- C++之函数的默认参数
- 常用android学习网址1