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

ClassCastException related to javax.ws.rs-api dependency #136

Open
micizydorczyk opened this issue Feb 1, 2024 · 0 comments
Open

ClassCastException related to javax.ws.rs-api dependency #136

micizydorczyk opened this issue Feb 1, 2024 · 0 comments

Comments

@micizydorczyk
Copy link

Describe the bug
After upgrading Spring Boot from version 2.7 to version 3.2, I'm running into
ClassCastException: attempting to castjar:file:/app/libs/javax.ws.rs-api-2.1.1.jar!/javax/ws/rs/client/ClientBuilder.class to jar:file:/app/libs/javax.ws.rs-api-2.1.1.jar!/javax/ws/rs/client/ClientBuilder.clas exception. After searching it up, upgrading this library would solve the problem. I noticed that library was upgraded in #124 but changes were reverted with #133.

To Reproduce
Steps to reproduce the behavior:

  1. Use Spring Boot 3.2, Java 17
  2. Execute IEXCloudClient create(IEXTradingApiVersion version, IEXCloudToken token) method

Expected behavior
Expecting method to return IEXTradingClient instance

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