1
我正在使用默认的maven 3.0.3的NetBeans 7.0 ....上周我打开了一个使用Maven 2.2开发的项目...现在即使在关闭该项目后,NetBeans也不允许我创建任何新的项目......甚至在NetBeans项目示例....每次我碰到下面的错误...为什么我得到PluginResolutionException?
Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.4.3: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from/to central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org: Unknown host repo1.maven.org -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
"**[Help 1] http://cw
iki.apache.org/confluence/display/MAVEN/PluginResolutionException"**
这方面的任何帮助将不胜感激....
谢谢提前,,
感谢@Jigar着,但我如何更改DNS名称...?在主要的系统设置或在NetBeans(不幸的是我无法找到Netbeans IDE中的任何这样的字段)... – aProgrammer
检查更新 –
谢谢....那工作...我试图解决这个错误的相当几个小时......你节省了一些时间......再次感谢..... – aProgrammer