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

Does not work with Java 11 #32

Open
sagevoice opened this issue May 28, 2019 · 5 comments
Open

Does not work with Java 11 #32

sagevoice opened this issue May 28, 2019 · 5 comments

Comments

@sagevoice
Copy link

As written this code does not work under Java 11. However it can be fixed by adding some dependencies to the pom file. I added the following dependencies and it seems to be working for me fine now.

        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-core</artifactId>
            <version>2.3.0.1</version>
        </dependency>

        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
            <version>2.3.1</version>
        </dependency>

        <dependency>
            <groupId>javax.activation</groupId>
            <artifactId>activation</artifactId>
            <version>1.1.1</version>
        </dependency>

        <dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
            <version>2.3.0</version>
        </dependency>

        <dependency>
            <groupId>org.javassist</groupId>
            <artifactId>javassist</artifactId>
            <version>3.25.0-GA</version>
        </dependency>

I hope this helps anyone else trying to get this running with Java 11

@paulc4
Copy link
Owner

paulc4 commented May 29, 2019

Thanks for doing this.
I will leave the pom as it is for now, since Java 8 is still so prevalent.

@skifans
Copy link

skifans commented Jul 15, 2019

Thank you - just commenting that adding the same extra dependencies fixed this for Java 12 as well.

@paulc4
Copy link
Owner

paulc4 commented Feb 5, 2020

Thanks again. I have updated my README to reference this issue.

@Leandro-FM
Copy link

Obrigado ! Salvou.

@286010056
Copy link

286010056 commented Jun 10, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants