I am using ColdFusion8, Windows7 64 bit OS, and I have downloaded Wirebox 1.6 from ColdBox. I have extracted the files and placed them in wwwroot
and created a "index.cfm" page with the code below:
<cfscript>
wirebox = createObject("component","wirebox.system.ioc.Injector").init();
</cfscript>
<cfdump var="#wirebox#">
But it is throwing an error:
Invalid CFML construct found on line 43 at column 36. ColdFusion was looking at the following text: { The CFML compiler was processing: A script statement beginning with instance on line 43, column 25. A cfscript tag beginning on line 33, column 18. A cfscript tag beginning on line 33, column 18. The error occurred in C:\ColdFusion8\wwwroot\wirebox\system\ioc\Injector.cfc: line 43 41 : 42 : // Prepare Injector instance 43 : instance = { 44 : // Java System 45 : javaSystem = createObject('java','java.lang.System'),
How do I install it correctly and test the installation?
As noted in the documentation, ColdBox requires one of the following engines:
As this answer explains, CF 8 does not support the nested inline structs which ColdBox uses.