I've had the exact same issue. you need to put all your jars in the WEB-INF/lib directory and set classpaths to them it in the coldfusion administrator, even if they already have classpaths on the system. coldfusion jvm does not share machine classpaths. even the jdbc drivers you are using need to be in the WEB-INF/lib directory.
On Tue, Aug 11, 2009 at 7:39 PM, ritha pull <saritha...@yahoo.com> wrote: > > This might help you > > http://forums.adobe.com/message/2136048%3Bjsessionid=AD61965725B7DF6354AF1B7A0CE73145.node0 > > Thanks > Ritha > > > We have been using the code below in cf7 to convert java query > > recordset to a cf query. It is still working in cf7 but fails with: > > > "An exception occurred when instantiating a Java object. The class > > must not be an interface or an abstract class. " > > the code used is > > <cfset queryTable = CreateObject("java", "coldfusion.sql.QueryTable"). > > init( rs )> > > in this case "rs" is the java recordset. > > > > Any thoughts on what could be wrong? > > Thanks, > > > Frederick > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325362 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4