You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Square SDK in my Quarkus 3 project. Because of Quarkus 3 is compiled for jakarta namespace and Square SDK is using apimatic core, which uses javax - it fails on:
Caused by: java.lang.ClassNotFoundException: javax.json.JsonException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:516)
at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:466)
Hi @zeppelinux
Thanks for opening this issue. I appreciate that you have also suggested a workaround for others!
Switching from javax to jakarta isn't on the immediate roadmap for this library. We'll let you know once it is prioritized.
Thanks!
I'm trying to use Square SDK in my Quarkus 3 project. Because of Quarkus 3 is compiled for jakarta namespace and Square SDK is using apimatic core, which uses javax - it fails on:
To reproduce:
To resolve it there is a need to update the apimatic/core-lib-java to use jakarta instead of javax.
The text was updated successfully, but these errors were encountered: