在什么情况下我需要在jaxb-implvs 之间做出选择jaxb-core?拥有jaxb-impl和jaxb-core我的项目中的两个会导致任何类加载冲突?
如果您查看com.sun.xml.bindMaven Central 中的工件,它似乎是,和)jaxb-core的底层(共享)依赖项;因此你需要与.jaxb-impljaxb-xjcjaxb-jxc jaxb-corejaxb-impl
<!-- jaxb-impl -->
<!-- ... --->
<!-- ... --->
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<packaging>jar</packaging>
<name>Old JAXB Runtime</name>
<description>Old JAXB Runtime module. Contains sources required for runtime processing.</description>
<url>https://eclipse-ee4j.github.io/jaxb-ri/</url>
<dependencies>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
</dependency>
<!-- ... -->
<!-- ... --->
Run Code Online (Sandbox Code Playgroud)
<!-- jaxb-core -->
<!-- ... --->
<!-- ... -->
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<packaging>jar</packaging>
<name>Old JAXB Core</name>
<description>Old JAXB Core module. Contains sources required by XJC, JXC and Runtime modules with dependencies.</description>
<url>https://eclipse-ee4j.github.io/jaxb-ri/</url>
<!-- ... -->
<!-- ... -->
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1183 次 |
| 最近记录: |