使用maven bundle插件bnd尝试OSGi包装(嵌入)jaxb xjc时出错,

使用maven bundle插件bnd尝试OSGi包装(嵌入)jaxb xjc时出错,,osgi,apache-felix,bnd,maven-bundle-plugin,Osgi,Apache Felix,Bnd,Maven Bundle Plugin,我正在尝试将下面的jar(以及其他)嵌入到OSGi包中 <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-xjc</artifactId> <version>2.1.13</version> </dependency> 我也有同样的问题。看来pom.xml中有两个相互冲突的版本。通过排除其中一个

我正在尝试将下面的jar(以及其他)嵌入到OSGi包中

<dependency>
    <groupId>com.sun.xml.bind</groupId>
    <artifactId>jaxb-xjc</artifactId>
    <version>2.1.13</version>
</dependency>

我也有同样的问题。看来pom.xml中有两个相互冲突的版本。通过排除其中一个版本,我可以解决这个问题

<dependency>
    <groupId>uk.ac.ebi.chebi.webapps.chebiWS.client</groupId>
    <artifactId>chebiWS-client</artifactId>
    <version>2.2.2</version>
    <exclusions>
        <exclusion>
            <groupId>com.sun.xml.ws</groupId>
            <artifactId>jaxws-tools</artifactId>
        </exclusion>
    </exclusions>
</dependency>

uk.ac.ebi.chebi.webapps.chebiWS.client
chebiWS客户机
2.2.2
com.sun.xml.ws
jaxws工具

我也有同样的问题。看来pom.xml中有两个相互冲突的版本。通过排除其中一个版本,我可以解决这个问题

<dependency>
    <groupId>uk.ac.ebi.chebi.webapps.chebiWS.client</groupId>
    <artifactId>chebiWS-client</artifactId>
    <version>2.2.2</version>
    <exclusions>
        <exclusion>
            <groupId>com.sun.xml.ws</groupId>
            <artifactId>jaxws-tools</artifactId>
        </exclusion>
    </exclusions>
</dependency>

uk.ac.ebi.chebi.webapps.chebiWS.client
chebiWS客户机
2.2.2
com.sun.xml.ws
jaxws工具