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

ClassDefNotFound javax/activation/DataSource #24

Open
ghost opened this issue Sep 15, 2022 · 1 comment
Open

ClassDefNotFound javax/activation/DataSource #24

ghost opened this issue Sep 15, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 15, 2022

I am getting the following error when trying to simply create the API and list the price of item 19718 it works but throws this error at start. https://paste.gg/p/anonymous/d6edae1aa36542e08bfd0d58dcbde8f4
Java Verison: OpenJDK 18

@Nithanim
Copy link
Owner

Sorry to hear that! I am not sure what the problem is but it does not surprise me that something had to break at some point considering how old the libraries are.
I assume you have already tried the recommendations from a quick search like adding

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

or overriding the Jersey version with a newer one like

<dependency>
    <groupId>org.glassfish.jersey.core</groupId>
    <artifactId>jersey-client</artifactId>
    <version>2.37</version>
</dependency>

I began a rewrite many months ago but I never finished it. I got relatively far and might have something ready for you relatively quickly if you need it. Though, some existing endpoints would be missing then.

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

1 participant