2016-12-24 6 views
1

私は「org.wso2.carbon.databridge.agent.thrift-4.2.0」を使用して2つの扶養パッケージ「xercesImplに関するconflictionsバージョンに走っています-2.6.2" と "SLF4J" 私はのorignalバージョンを除外するために持っている一時的なソリューションとしてMavenの依存

、(のpom.xml下記参照)

<dependency> 
     <groupId>org.wso2.carbon</groupId> 
     <artifactId>org.wso2.carbon.databridge.agent.thrift</artifactId> 
     <version>4.2.0</version> 
<!-- xercesImpl-2.6.2 had caused error with 
     com.thoughtworks.xstream.io.xml.DomDriver.createDocumentBuilderFactory()  

     <exclusions>  
     <exclusion> 
      <artifactId>xercesImpl</artifactId> 
      <groupId>xerces</groupId> 
     </exclusion>   
     </exclusions> 
-->  
    </dependency> 


SLF4J: Class path contains multiple SLF4J bindings. 
SLF4J: Found binding in [jar:file:/home/wjz/.m2/repository/slf4j/wso2/slf4j/1.5.10.wso2v1/slf4j-1.5.10.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class] 
SLF4J: Found binding in [jar:file:/home/wjz/.m2/repository/org/slf4j/slf4j-log4j12/1.7.2/slf4j-log4j12-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] 
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] 
SLF4J: The requested version 1.5.10 by your slf4j binding is not compatible with [1.6, 1.7] 

私はWSO2 AS 5.3.0がすでに持っていることに気づきましたそのリリースの画像に「org.wso2.carbon.databridge.agent.thrift-4.4.7」を使用して。

私は

 <dependency> 
      <groupId>org.wso2.carbon</groupId> 
      <artifactId>org.wso2.carbon.databridge.agent.thrift</artifactId> 
      <version>4.4.7</version>  
     </dependency> 

(下記参照)のpom.xmlに4.4.7への変更により4.4.7にバージョン番号をアップグレードするためにもしようとした私は、「ミッシングアーティファクトorg.wso2を言ってエラーを得ました.carbon:org.wso2.carbon.databridge.agent.thread:ja:4.4.7 "

私はmaven repoとwso2ネクサスの周りを検索して何も見つかりませんでした。

ので、私は新しいWSO2パッケージ

おかげ

答えて

1

グループIDが4.4.xからのjarファイルが異なるを取得することができたことで、最新のMavenのレポのリンクをである私の質問、。あなたが参照している1は、次のように変更する必要があります。

<groupId>org.wso2.carbon.commons</groupId> 
+0

感謝。それは私の問題を解決する –