Java error: "The class must not be an interface or an abstract class"
Posted on 2009-04-09
I have a load of Java classes which have been compiled from a Web Service and I'm trying to access them from Coldfusion 8. They can be referenced fine on two of our servers but on the other I get this error:
An exception occurred while instantiating a Java object. The class must not be an interface or an abstract class. If the class has a constructor that accepts an argument, you must call the constructor explicitly using the init(args) method. Error : ''
The Coldfusion code I'm using to call these objects is:
NSSL = CreateObject("java", "com.netsuite.webservices.platform_2008_2.NetSuiteServiceLocator");
ws = NSSL.getNetSuitePort();
Any idea why this might be happening? We have the same version of Coldfusion 8 on all 3 servers.