0
D:\Eclipse workspace>mvn archetype:generate -DgroupId=com.nrifintech -DartifactId=DBAIEI -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false
[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
clean-plugin/2.5/maven-clean-plugin-2.5.pom
Jan 23, 2014 2:47:53 PM org.apache.maven.wagon.providers.http.httpclient.impl.cl
ient.DefaultRequestDirector tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset
Jan 23, 2014 2:47:53 PM org.apache.maven.wagon.providers.http.httpclient.impl.cl
ient.DefaultRequestDirector tryExecute
INFO: Retrying request
Jan 23, 2014 2:48:14 PM org.apache.maven.wagon.providers.http.httpclient.impl.cl
ient.DefaultRequestDirector tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset
Jan 23, 2014 2:48:28 PM org.apache.maven.wagon.providers.http.httpclient.impl.cl
ient.DefaultRequestDirector tryExecute
INFO: Retrying request
Jan 23, 2014 2:48:49 PM org.apache.maven.wagon.providers.http.httpclient.impl.cl
ient.DefaultRequestDirector tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset
Jan 23, 2014 2:48:49 PM org.apache.maven.wagon.providers.http.httpclient.impl.cl
ient.DefaultRequestDirector tryExecute
INFO: Retrying request
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:mave
n-clean-plugin:2.5: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or on
e of its dependencies could not be resolved: Failed to read artifact descriptor
for org.apache.maven.plugins:maven-clean-plugin:jar:2.5
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
install-plugin/2.4/maven-install-plugin-2.4.pom
Jan 23, 2014 2:49:34 PM org.apache.maven.wagon.providers.http.httpclient.impl.cl
ient.DefaultRequestDirector tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset
Jan 23, 2014 2:49:34 PM org.apache.maven.wagon.providers.http.httpclient.impl.cl
ient.DefaultRequestDirector tryExecute
INFO: Retrying request
当我尝试使用此命令尝试创建一个maven项目时,则显示此错误。 然后继续。不知道为什么会发生这种情况。我的maven安装正确。 我的maven安装在C:驱动器中。创建新的Maven项目时出现错误。
您似乎遇到了与Internet连接有关的问题:处理请求时发生INFO:I/O异常(java.net.SocketException):Connection reset'。首先检查你的互联网连接。你是否支持代理?如果是,则需要在settings.xml文件中配置它。 – khmarbaise