Missing artifact org.codehaus:wstx-asl:jar:3.2.7:compile

<dependency>
            <groupId>org.codehaus</groupId>
            <artifactId>wstx-asl</artifactId>
            <version>3.2.7</version>
            <type>jar</type>
        </dependency>

C:\Documents and Settings\Administrator\.m2\repository\org\codehaus\woodstox\wstx-asl\3.2.7目录下有wstx-asl-3.2.7.jar文件

但是总是报错

查看C:\Documents and Settings\Administrator\.m2\repository\org\codehaus\woodstox\wstx-asl\3.2.7目录下

wstx-asl-3.2.7.pom文件

有如下类容

<?xml version="1.0" encoding="UTF-8"?>
<project>

 <!-- General information -->

  <modelVersion>4.0.0</modelVersion>
  <groupId>org.codehaus.woodstox</groupId>
  <artifactId>wstx-asl</artifactId>

  <name>Woodstox</name>
  <version>3.2.7</version>
  <description>Woodstox is a high-performance XML processor that implements Stax (JSR-173) API</description>

 <!-- Contact information -->

  <url>http://woodstox.codehaus.org</url>
  <issueManagement>
    <url>http://jira.codehaus.org/browse/WSTX</url>
  </issueManagement>

 <!-- Dependency information -->
 
  <dependencies>
    <!-- Stax API jar is needed; 1.0.1 preferable over vanilla 1.0, since
         it contains one critical bug fix to implementation auto-detection
      -->
    <dependency>
      <groupId>stax</groupId>
      <artifactId>stax-api</artifactId>
      <version>1.0.1</version>
    </dependency>
  </dependencies>


  <!-- Licensing (joy!) -->
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <organization>
    <name>Codehaus</name>
    <url>http://www.codehaus.org/</url>
  </organization>

</project>

把红色的copy出来代替原有的

<dependency>
            <groupId>org.codehaus.woodstox</groupId>
            <artifactId>wstx-asl</artifactId>
            <version>3.2.7</version>
            <scope>compile</scope>
        </dependency>

错误消失!!!



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值