cancel
Showing results for 
Search instead for 
Did you mean: 

JakartaEE support for authorize.net hava sdk

Is JakartaEE support available in anet-java-sdk. I am using version 1.9.4 for the java sdk.

https://jakarta.ee/specifications/xml-binding/4.0/
I am trying to upgrade tomcat 10 and it is complaining about the javax.xml.binding. Find below stack trace:

 

 

 

java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at net.authorize.cim.Transaction.addCustomerProfile(Transaction.java:226) at net.authorize.cim.Transaction.createCustomerProfile(Transaction.java:1061)

 

 

 

Since tomcat is using Jakarte EE  for xml binding and authorize.net sdk is using javax xml binding.

pradeep82
Contributor
1 REPLY 1

We are having the same issue; for now we are just staying with Tomcat 9, but on other projects, we have used a deployment configuration that allows you to use javax on a Tomcat 10 server (placing the war file in the webapps-javaee folder).

If I figure out another (better) way, I'll let you know. And if you find something too, please share!

izekhornbeck
Member