coldfusion - How to install and test wirebox 1.6? -
i using coldfusion8, windows7 64 bit os, , have downloaded wirebox 1.6 coldbox. have extracted files , placed them in wwwroot
, created "index.cfm" page code below:
<cfscript> wirebox = createobject("component","wirebox.system.ioc.injector").init(); </cfscript> <cfdump var="#wirebox#">
but throwing error:
invalid cfml construct found on line 43 @ column 36. coldfusion looking @ following text: { cfml compiler processing: script statement beginning instance on line 43, column 25. cfscript tag beginning on line 33, column 18. cfscript tag beginning on line 33, column 18. 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 install correctly , test installation?
as noted in the documentation, coldbox requires 1 of following engines:
- coldfusion 8.01 or above
- railo 2.0 or above
- open blue dragon (not features supported)
as this answer explains, cf 8 not support nested inline structs coldbox uses.
Comments
Post a Comment