Skip to main content
This topic has been closed for replies.

2 replies

December 27, 2012

may be, problem is in location of my custom . class? Where can I locate my classes?

Because only working ( for me) example is this one:

where used standard java.net.InetAddress class...

December 27, 2012

I tried this example with CF10 and I have blank page, no any output. More details : I have created Employee, put as class into ..ColdFusion10\cfusion\wwwroot\uTube\jars\javaapp dir, set ColdFusion Class Path to this location through Administrator and start http://127.0.0.1/uTube/employee1.cfm / As a result, blank page without any output

But Employee object was found, no error about unknown class.

These examples are not appropriate for CF 10 or there is other reason?

BKBK
Community Expert
Community Expert
December 27, 2012

Did you do configuration like this in Application.cfc?

this.javaSettings = {LoadPaths = ["\uTube\jars\javaapp\"],loadColdFusionClassPath = "true", reloadOnChange= "true"};

Also, could you show us the Java code in employee1.cfm?