team-telnyx / telnyx-java

Java SDK for the Telnyx API
10 stars 20 forks source link

SDK not compatible with newest Spring Boot 3 #56

Open samuel-pichot opened 1 year ago

samuel-pichot commented 1 year ago

Hi guys, I was updating my apps to the newest Spring Boot version & it seems that Telnyx does not support the new name space jakarta instead of the old 'javax'

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.telnyx.sdk.Configuration
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: javax/ws/rs/core/Configuration

Are you guys still maintaining this SDK ? Are you planning of making it compatible ? Should I update my app to use the API natively ?

Thanks a lot for your answers.

ADandyGuyInSpace commented 1 year ago

Near future will be updated to be compatible in a parity update, is not abandoned. Getting the ball rolling on this ^^^ fixing last few things as some endpoints breaking due to some syntax changes.

samuel-pichot commented 1 year ago

That would be very helpful for our team. Thank you for the help moving this forward

samuel-pichot commented 11 months ago

Near future will be updated to be compatible in a parity update, is not abandoned. Getting the ball rolling on this ^^^ fixing last few things as some endpoints breaking due to some syntax changes.

@ADandyGuyInSpace any news on this issue ? thank you for the update

davebrown1975 commented 9 months ago

Hi team, do you have any update on this? I also just spent the time integrating, just to find at runtime it can't find classes as we're using Java 17 therefore jakarta and not javax. Thanks

CraftingGamerTom commented 6 months ago

May 2, 2024 - just pinging this since it has been 8 months since this issue was first reported

CraftingGamerTom commented 6 months ago

I decided to fork the repository, update the references myself, bump the version, mvn clean install so it goes to my local m2 repository and available to my project locally, and I can now build and run my local project using Spring Boot Starter Parent 3.2.2

I created a PR but I doubt it can be merged in its current state as I know nothing about the contribution process to this repository.

Please let me know how I can best move this forward so developers can use Telnyx with Spring Boot Starter Parent 3.x

Conrad-T-Pino commented 3 months ago

IMO this is an important change and suggest prompt adoption. I'm starting new project and will test @CraftingGamerTom fork along with bug fixes to follow.