Driver not found by lucee.core [64]

I have a little problem in lucee. Currently I use lucee version

I have a simple code:

classLoader = createObject(“java”, “java.lang.Class”);

with above code, I always get error:

net.sourceforge.jtds.jdbc.Driver not found by lucee.core [64]

when I check ‘jtds-1.3.1.jar’ the jar is exists in folder ‘lucee/tomcat/lucee-server/bundles/’

any idea for this problem?

In adobe coldfusion the script are ok.

The class is in a bundle, so you have to specify the bundle’s symbolic name as a 3rd arg of createObject(), e.g.

createObject("java", "net.sourceforge.jtds.jdbc.Driver", bundleSymbolicName);

But the jTDS extension should work fine and do everything you need out of the box, so I’m not sure what are you trying to achieve here?