【发布时间】:2013-03-14 21:12:55
【问题描述】:
我正在使用 ColdFusion8、Windows7 64 位操作系统,并且我从 ColdBox 下载了 Wirebox 1.6。我已提取文件并将它们放在wwwroot 中,并使用以下代码创建了一个“index.cfm”页面:
<cfscript>
wirebox = createObject("component","wirebox.system.ioc.Injector").init();
</cfscript>
<cfdump var="#wirebox#">
但是它抛出了一个错误:
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'),
如何正确安装并测试安装?
【问题讨论】:
标签: coldfusion coldfusion-8 cfml coldbox