Maven新导入项目时出现错误Failure to transfer commons-lang:commons-lang:jar:2.1 from https://repo.maven.apache.
2017-03-17 21:27
1776 查看
导入新项目时出现类似的错误:
1. Failure to transfer commons-lang:commons-lang:jar:2.1 from https://repo.maven.apache.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 commons-lang:commons-lang:jar:2.1 from/to central (https://repo.maven.apache.org/maven2): Connection reset
或者是这种:
2. Missing artifact com.oracle:ojdbc14:jar:10.2.0.2.0
右键Maven Dependencies,configure build path,发现提示的jar包有的是缺失的。右键项目,选Maven,更新项目即可
1. Failure to transfer commons-lang:commons-lang:jar:2.1 from https://repo.maven.apache.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 commons-lang:commons-lang:jar:2.1 from/to central (https://repo.maven.apache.org/maven2): Connection reset
或者是这种:
2. Missing artifact com.oracle:ojdbc14:jar:10.2.0.2.0
右键Maven Dependencies,configure build path,发现提示的jar包有的是缺失的。右键项目,选Maven,更新项目即可
相关文章推荐
- maven项目下载报错:Failure to transfer org.apache.maven:maven-archiver:jar:x.x from https://repo.maven.apache.org/maven...
- Failure to transfer org.apache.maven:maven-archiver:jar:x.x from https://repo.maven.apache.org/maven
- Maven错误问题解决 Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://repo.maven
- Failure to transfer org.apache.maven.plugins:maven-war-plugin:pom:2.2 from https://repo.maven.apache
- ArtifactTransferException: Failure to transfer xalan:xalan:jar:2.6.0 from http://repo.maven.apache.o
- log4j的1.2.15版本,在pom.xml中的顶层project报错错误: Failure to transfer javax.jms:jms:jar:1.1 from https://maven-repository.dev.java.net/nonav/repository......
- Failure to transfer org.apache.maven: maven-artifact-manager:pom:2.0.6 from http://repo.maven.apache
- 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
- eclipse安装maven插件开发WEB项目,解决错误:Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom
- maven项目pom.xml报错: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from
- Failure to transfer org.apache.maven:maven-archiver:pom:2.5.0 from http://repo1.maven.org/maven2 was
- maven项目的pom.xml文件出现红色错误提示:ArtifactTransferException: Failure to transfer
- 使用maven时出现failure to transfer错误,下载jar慢
- 导入maven项目pom第一条报错,Failure to transfer org.apache.maven.plugins
- myeclipse创建maven项目pom报错,Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1
- 使用maven时出现Failure to transfer 错误的解决方法
- 后台——使用maven时出现Failure to transfer 错误的解决方法
- springboot创建项目问题:Failure to transfer org.codehaus.plexus:plexus-archiver:jar:2.0.1 from
- maven 项目jar 包冲突 Caused by: java.lang.ClassNotFoundException: org.apache.commons.beanutils.converters
- Maven 项目构建错误解决 之 Type Failure to transfer org.codehaus.plexus:plexus-io:pom:2.0.2