Java error: "The class must not be an interface or an abstract class"

Hi,

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:

<cfscript>
NSSL = CreateObject("java", "com.netsuite.webservices.platform_2008_2.NetSuiteServiceLocator");
ws = NSSL.getNetSuitePort();
</cfscript>

Any idea why this might be happening? We have the same version of Coldfusion 8 on all 3 servers.

Thanks
jens-gmAsked:
Who is Participating?
 
carehartConnect With a Mentor Commented:
Check out the solution for this very web service offered here:

http://www.aftergeek.com/2006/11/preventing-coldfusion-from-recompiling.html
0
 
_agx_Commented:
Can you post the java code for class NetSuiteServiceLocator, or at least the constructors?
0
All Courses

From novice to tech pro — start learning today.