intuit / QuickBooks-V3-Java-SDK

Java SDK for QuickBooks REST API v3 services
Apache License 2.0
60 stars 142 forks source link

Compatibility issue with Java 11 #209

Open jawad-r3 opened 9 months ago

jawad-r3 commented 9 months ago

We are moving our code from Java 11 to 17. I pulled the latest SDK version into the code and was surprised to see it's not compatible with the new Java version. In the new version old Javax classes have been moved to new Jakarta based classes. Hence nothing works with Java 17.

Please update the SDK to new Java 17.

kalpadiptyaroy commented 8 months ago

@jawad-r3 I am on it.

dharmikchauhan commented 8 months ago

Hi, Facing issues while running the SDK with Java17: java.lang.IncompatibleClassChangeError: Found interface org.objectweb.asm.ClassVisitor, but class was expected Is it something related?

kalpadiptyaroy commented 8 months ago

@dharmikchauhan - I have just raised a PR migrating the entire code base to Java 17 ( except test cases ). I would suggest you take a pull of my branch and run the build. Let me know if that makes a difference.