linghengqian commented on issue #26896:
URL:
https://github.com/apache/shardingsphere/issues/26896#issuecomment-1630523622
- 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`.
```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
https://github.com/apache/shardingsphere/issues/26041#issuecomment-1581880874.
--
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]