Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

springboot3.1.2+shardingsphere5.4.1 Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory #30756

Closed
lhyjava opened this issue Apr 3, 2024 · 4 comments

Comments

@lhyjava
Copy link

lhyjava commented Apr 3, 2024

No description provided.

@linghengqian
Copy link
Member

        <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>

@tech-allen
Copy link

tech-allen commented Apr 16, 2024

@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.
jax-dependency

Copy link

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.

@github-actions github-actions bot added the stale label May 16, 2024
@linghengqian
Copy link
Member

The issue was closed because the author did not reply.

@linghengqian linghengqian self-assigned this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants