Failed to read artifact descriptor for org.apache.ws.commons:XmlSchema:jar:1.1:

简介:

 报错:

[ERROR] Failed to execute goal on project synchrodata-web: Could not resolve dependencies 
 
for project suqiu:synchrodata-web:war:1.0: Failed to collect dependencies for 
 
[junit:junit:jar:3.8.1 (test), suqiu:synchrodata-client:jar:1.0 (compile), 
 
org.springframework:spring-web:jar:2.5.6 (compile), org.springframework:spring-
 
core:jar:2.5.6 (compile), org.slf4j:slf4j-log4j12:jar:1.6.1 (compile), org.slf4j:slf4j-
 
api:jar:1.6.1 (compile), com.oracle:classes12:jar:10.2.0.2.0 (compile), 
 
org.codehaus.xfire:xfire-aegis:jar:1.2.6 (compile), org.codehaus.xfire:xfire-
 
spring:jar:1.2.6 (compile)]: Failed to read artifact descriptor for 
 
org.apache.ws.commons:XmlSchema:jar:1.1: Could not transfer artifact 
 
org.apache.ws.commons:XmlSchema:pom:1.1 from/to codehaus (http://dist.codehaus.org/): No 
 
connector available to access repository codehaus (http://dist.codehaus.org/) of type legacy 
 
using the available factories WagonRepositoryConnectorFactory -> [Help 1]
方法一:
下载XmlSchema-1.1.jar包,
http://ishare.iask.sina.com.cn/download/explain.php?fileid=34464103
 
执行命令
mvn install:install-file -Dfile=/root/XmlSchema-1.1.jar  -DgroupId=org.apache.ws.commons  -
 
DartifactId=XmlSchema -Dversion=1.1  -Dpackaging=jar -DgeneratePom=true
 
方法二
把XmlSchema-1.1.jar上传到maven私服上

本文转自 holy2009 51CTO博客,原文链接:http://blog.51cto.com/holy2010/1108459

相关文章
|
7月前
|
Java
SpringBoot启动报错:org.apache.catalina.LifecycleException: Protocol handler start failed
SpringBoot启动报错:org.apache.catalina.LifecycleException: Protocol handler start failed
99 0
|
4月前
|
Java Maven Spring
SpringBoot 系列之 Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resource
这篇文章描述了在使用Maven构建Spring Boot项目时遇到的`maven-resources-plugin`插件版本问题导致的编译失败,并提供了通过修改插件版本至3.1.0来解决这个问题的方法。
SpringBoot 系列之 Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resource
|
7月前
|
Java
springboot打包错误:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resource
springboot打包错误:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resource
86 0
|
4月前
|
Java Spring
【Azure 应用服务】记一次Azure Spring Cloud 的部署错误 (az spring-cloud app deploy -g dev -s testdemo -n demo -p ./hellospring-0.0.1-SNAPSHOT.jar --->>> Failed to wait for deployment instances to be ready)
【Azure 应用服务】记一次Azure Spring Cloud 的部署错误 (az spring-cloud app deploy -g dev -s testdemo -n demo -p ./hellospring-0.0.1-SNAPSHOT.jar --->>> Failed to wait for deployment instances to be ready)
|
5月前
|
Java 数据库连接 mybatis
Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid
Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid
|
7月前
|
前端开发 JavaScript Java
IDEA Maven install Failed to execute goal org.apache.maven.plugins异常处理
IDEA Maven install Failed to execute goal org.apache.maven.plugins异常处理
591 0
|
Java Maven
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4
|
Java Apache Maven
【异常解决】Handler dispatch failed;nested exception is java.lang.NoClassDefFoundError: org/apache/common
【异常解决】Handler dispatch failed;nested exception is java.lang.NoClassDefFoundError: org/apache/common
3813 0
|
Java Maven Android开发
解决警告: Failed to scan JAR[...] java.util.zip.ZipException: error in opening zip file
解决警告: Failed to scan JAR[...] java.util.zip.ZipException: error in opening zip file
|
7月前
org.apache.catalina.LifecycleException: Protocol handler start failed
org.apache.catalina.LifecycleException: Protocol handler start failed
74 0

推荐镜像

更多
下一篇
无影云桌面