maven编译项目时提示:cached in the local repository
2016-11-03 21:31
531 查看
1.今天使用命令mvn compile编译maven项目时提示错误信息,部分错误信息如下:
发现wsdl4j-1.6.3.jar下载到本地时失败,从提示可知是本地仓库的缓存(cached)造成。我们找到maven的仓库目录,找到该jar的下载目录。找到.lastUpdated文件,删除它。然后eclipse-->maven-->updateMaven,重新下载jar后。如果下载成功,那么这个错误就会消失。
2.MVN 构建项目时的一个问题--Could not resolve de pendencies for project
解决maven cannot change version of project facet dynamic web module to 3.0
Failure to transfer wsdl4j:wsdl4j:jar:1.6.3 from http://xx.xx.xx.xx:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of public has elapsed or updates are forced. Original error: Could not transfer artifact wsdl4j:wsdl4j:jar:1.6.3 from/to public (http://xx.xx.xx.xx:8081/nexus/content/groups/public): The operation was cancelled.
发现wsdl4j-1.6.3.jar下载到本地时失败,从提示可知是本地仓库的缓存(cached)造成。我们找到maven的仓库目录,找到该jar的下载目录。找到.lastUpdated文件,删除它。然后eclipse-->maven-->updateMaven,重新下载jar后。如果下载成功,那么这个错误就会消失。
2.MVN 构建项目时的一个问题--Could not resolve de pendencies for project
解决maven cannot change version of project facet dynamic web module to 3.0
相关文章推荐
- maven编译项目时提示:cached in the local repository
- 解决maven执行命令时提示:cached in the local repository
- Maven-010-maven 编译报错:Failure to ... in ... was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced.
- Maven 错误 Failure to transfer ...was cached in the local repository...
- Maven经典错误之三:was cached in the local repository, resolution will not be reattempted until the upda
- Maven错误:was cached in the local repository, resolution will not be reattempted until the update
- Failure to transfer org.apache.maven:maven-archiver:pom:2.5 from http://repo.maven.apache.org/ maven2 was cached in the local repository, resolution will not be reattempted until the update interv
- was cached in the local repository, resolution will not be reattempted until(Maven常见问题)
- Maven was cached in the local repository, resolution will not be reattempted until the update interv
- 解决 Maven was cached in the local repository, resolution will not be reattempted until the update interv
- was cached in the local repository, resolution will not be reattempted until(Maven常见问题)
- ubuntu jenkins 构建报“Failure to find xxx.jar apache.org/maven2 was cached in the local repository"错误
- 解决mvn install问题Failure to find ** was cached in the local repository
- was cached in the local repository, resolution will not be reattempted until the update interval of
- 使用eclipse运行maven项目提示Unable to locate the Javac Compiler in: C:/Program Files/Java/jre6/../lib/tools.
- was cached in the local repository, resolution will not be reattempted until the update interval of
- Non-resolvable import POM: Failure to find Dalston.RC1 in was cached in the local repository
- cached in the local repository, resolution will not be reattempted
- maven项目pom.xml报错……was cached in the local repository的解决方法
- Failure to find xxx in xxx was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced @ xxx