You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "lhyjava (via GitHub)" <gi...@apache.org> on 2024/04/03 08:38:09 UTC
[I] springboot3.1.2+shardingsphere5.4.1 Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory [shardingsphere]
lhyjava opened a new issue, #30756:
URL: https://github.com/apache/shardingsphere/issues/30756
(no comment)
--
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] springboot3.1.2+shardingsphere5.4.1 Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory [shardingsphere]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #30756:
URL: https://github.com/apache/shardingsphere/issues/30756#issuecomment-2116087269
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] springboot3.1.2+shardingsphere5.4.1 Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory [shardingsphere]
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #30756:
URL: https://github.com/apache/shardingsphere/issues/30756#issuecomment-2116501440
The issue was closed because the author did not reply.
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] springboot3.1.2+shardingsphere5.4.1 Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory [shardingsphere]
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #30756:
URL: https://github.com/apache/shardingsphere/issues/30756#issuecomment-2034454322
- This sounds like it's due to a dependency conflict, try what https://github.com/apache/shardingsphere/issues/30318#issuecomment-1968268853 mentioned, explicitly specifying the version of the JAXB implementation.
```xml
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-jdbc-core</artifactId>
<version>5.4.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.9</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0.1</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.9</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.33</version>
</dependency>
```
- On shardingsphere 5.4.2-SNAPSHOT/5.5.0 you no longer need to do this as use of the JAXB API has been removed in #29384 .
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] springboot3.1.2+shardingsphere5.4.1 Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory [shardingsphere]
Posted by "tech-allen (via GitHub)" <gi...@apache.org>.
tech-allen commented on issue #30756:
URL: https://github.com/apache/shardingsphere/issues/30756#issuecomment-2058969757
@lhyjava You should update all your `jaxb*` version to 2.3.0.
You can find the dependency management in
```
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere</artifactId>
<version>5.4.1</version>
<packaging>pom</packaging
```>
It works good in my computer.
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] springboot3.1.2+shardingsphere5.4.1 Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory [shardingsphere]
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian closed issue #30756: springboot3.1.2+shardingsphere5.4.1 Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory
URL: https://github.com/apache/shardingsphere/issues/30756
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org