错误提示:Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be
reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact
com.thoughtworks.xstream:xstream:jar:1.3.1 from/to central (http://repo1.maven.org/maven2): No response received after 60000
首先这个问题我也经常遇到
其次,看看报错的点,可能是maven没有成功导入相关的jar包,需要放到maven的文件里或者百度一下maven导包
最后可以进行maven的更新来看看,有时候我一更新就不报错了
谢谢
是不是缺少maven-archetype-webapp-1.0.jar
mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-webapp -Dversion=1.0 -Dpackaging=jar -Dfile=maven-archetype-webapp-1.0.jar
这个有可能是 pom中maven 依赖有问题 或者下载不下来