Reply
Highlighted
Member
Posts: 2
Registered: ‎02-25-2020

Error in servlet when trying to charge a credit card

I am trying to make a donation page for the company I work for, and when i try to run the application, I get this error in Netbeans:

 

java.lang.NoClassDefFoundError: Could not initialize class net.authorize.api.controller.base.ApiOperationBase

 

The line that it refrences to is this line:

 

ApiOperationBase.setEnvironment(Environment.PRODUCTION);

 

I am using the sample code form Github.

 

Any help would be appreciated.

 

thank you,