twitter-api-java-sdk icon indicating copy to clipboard operation
twitter-api-java-sdk copied to clipboard

Use Jakarta 10 for imports instead of old javax

Open Yrlish opened this issue 2 years ago • 2 comments

Problem

I cannot use this SDK with newer frameworks (Quarkus 3.2) with Jakarta 10, which has changed its namespace to jakarta.ws.rs.* from now legacy javax.ws.rs.*.

Therefore when running it, it throws a java.lang.ClassNotFoundException: javax.ws.rs.core.GenericType exception.

Solution

Changed the dependency and updated the imports.

Result

Self-explanatory.

Yrlish avatar Jul 16 '23 16:07 Yrlish

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 16 '23 16:07 CLAassistant

Hey. I would like to know when it will be merged.

joaozarate avatar Sep 09 '23 21:09 joaozarate