2016-12-24 4 views
1

"org.wso2.carbon.databridge.agent.thrift-4.2.0"을 사용하고 있으며 두 개의 종속 패키지 인 "xercesImpl -2.6.2 "와"나는 시킴으로 빨리 버전을 제외 할 임시 해결책으로 SLF4J ""org.wso2.carbon.databridge.agent.thrift"에 대한 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] 

나는 5.3.0과 WSO2가 이미 가지고 것으로 나타났습니다 릴리스 이미지에서 "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 : jar : 4.4.7 "

나는 maven repo와 wso2 nexus를 검색하여 아무 것도 발견하지 못했습니다.

그래서 새로운 WSO2 패키지

감사

답변

1

그룹 ID가 전 4.4.x 항아리 다른를 가져올 수있는 최신 받는다는의 repo 링크를 내 질문. 당신이 말하는 것은 이와 같이 변경되어야합니다.

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

감사합니다. 내 문제를 해결해. –