KouShenhai commented on issue #26896: URL: https://github.com/apache/shardingsphere/issues/26896#issuecomment-1631164664
> * Can you provide an example? > * One issue that must be noted is that JDK 9 starts removing `java.xml.bind` packages. For JAXB's API, you can use glassfish or a third-party vendor's javax implementation of JAXB. I'm assuming you're using Maven, which is adding a specific version of the dependency to `pom.xml`. > > ``` > <dependency> > <groupId>org.glassfish.jaxb</groupId> > <artifactId>jaxb-runtime</artifactId> > <version>2.3.8</version> > </dependency> > ``` > > * Refer to https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-with-Java-9-and-above#jaxb and https://github.com/ehcache/ehcache3/blob/v3.10.8/docs/src/docs/asciidoc/user/getting-started.adoc . > * `org.glassfish.jaxb:jaxb-runtime:3.0.0` starts with the jakarta namespace. Switching to a later version of the JAXB API is being discussed in [Transition from Java EE to Jakarta EEĀ #26041 (comment)](https://github.com/apache/shardingsphere/issues/26041#issuecomment-1581880874). Thank you very much for answering my question. The following dependencies have been introduced, but an error has been reported. It may be due to a higher version of JDK, but I hope the official website can quickly transition to Jakarta EE ``` xml <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> <version>2.3.8</version> </dependency> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
