我正在使用“org.wso2.carbon.databridge.agent.thrift-4.2.0”并且遇到了关于两个依赖包“xercesImpl-2.6.2”和“slf4j”的版本冲突
作为临时解决方案,我必须排除原始版本,(见下文 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”。
我还尝试通过在 pom.xml 中将版本号更改为 4.4.7 来升级到 4.4.7(见下文)
<dependency>
<groupId>org.wso2.carbon</groupId>
<artifactId>org.wso2.carbon.databridge.agent.thrift</artifactId>
<version>4.4.7</version>
</dependency>
我收到一条错误消息“缺少工件 org.wso2.carbon:org.wso2.carbon.databridge.agent.thrift:jar:4.4.7”
我搜索了 maven repo 和 wso2 nexus,但一无所获。
所以我的问题是,我可以通过它获取新的 WSO2 包的最新 maven repo 链接在哪里
谢谢