maven项目的pom.xml文件出现红色错误提示:ArtifactTransferException: Failure to transfer
2017-03-24 10:46
801 查看
maven项目的pom.xml文件出现红色错误提示,鼠标放上去提示:
ArtifactTransferException: Failure to transfer org.deeplearning4j:deeplearning4j-ui-model:jar:0.7.1 from http://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 org.deeplearning4j:deeplearning4j-ui-model:jar:0.7.1 from/to central (http://repo.maven.apache.org/maven2): The operation was cancelled.
原因是maven本地仓库没有对应的jar包,需要需maven中央库下载下来,操作如下:
项目右键,使用maven插件clean一下然后再install一下就好了,会自动从网络上下载jar包到本地仓库,下载完后刷新一下项目即可。
ArtifactTransferException: Failure to transfer org.deeplearning4j:deeplearning4j-ui-model:jar:0.7.1 from http://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 org.deeplearning4j:deeplearning4j-ui-model:jar:0.7.1 from/to central (http://repo.maven.apache.org/maven2): The operation was cancelled.
原因是maven本地仓库没有对应的jar包,需要需maven中央库下载下来,操作如下:
项目右键,使用maven插件clean一下然后再install一下就好了,会自动从网络上下载jar包到本地仓库,下载完后刷新一下项目即可。
相关文章推荐
- maven 的 pom.xml 文件报错:ArtifactTransferException: Failure to transfer
- 使用Maven 构建项目的时候 pom.xml 异常:ArtifactTransferException: Failure to transfer org.springframework:spring
- maven 的 pom.xml 文件报错:ArtifactTransferException: Failure to transfer
- Maven 项目构建错误解决 之 Type Failure to transfer org.codehaus.plexus:plexus-io:pom:2.0.2
- 使用maven 出现ArtifactTransferException:Failure to transfer
- Maven获取包的时候错误和build错误 ArtifactTransferException: Failure to transfer
- SpringBoot创建项目问题:ArtifactTransferException:Failure to transfer maven……
- 使用maven 出现ArtifactTransferException:Failure to transfer
- maven项目pom.xml报错: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from
- 使用maven 出现ArtifactTransferException:Failure to transfer
- maven的pom 提示错误 Failure to transfer com.thoughtworks.xstream:xstream:jar:
- 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......
- eclipse安装maven插件开发WEB项目,解决错误:Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom
- maven中报错:Failure to transfer org.apache.maven.plugins(pom.xml)文件中第一行报错
- 使用maven 出现ArtifactTransferException:Failure to transfer
- Maven 文件错误Failure to transfer org.codehaus.plexus:plexus-io:pom:1.0,Failure to transfer org.codehaus
- Maven新导入项目时出现错误Failure to transfer commons-lang:commons-lang:jar:2.1 from https://repo.maven.apache.
- IntelliJ maven项目pom文件错误failed to read artifact descriptor for xx.jar问题解决办法
- maven创建web项目-pom文件提示web.xml is missing and <failOnMissingWebXml> is set to true
- maven的pom 提示错误 Failure to transfer com.thoughtworks.xstream:xstream:jar: