【发布时间】:2016-12-12 09:20:17
【问题描述】:
我是刚开始设置新服务器的 Railo 用户。作为这次迁移的一部分,我想我也会更新到最新版本的 Lucee。
Lucee 安装比我记得上次安装 Railo 时顺利得多,所有站点在安装后立即运行。但是,当我设置我的 IP 地址以显示调试信息时,我在我网站上所有页面的末尾收到以下错误:
Message template [[**My Webroot**]\Nightscape\WEB-INF\lucee\context\Component.cfc] must contain a component or an interface.
Stacktrace The Error Occurred in
C:\lucee\tomcat\lucee-server\context\context\admin\debug\Debug.cfc: line 1
1: <cfcomponent>
2:
3: <cfset fields=array()>
called from C:\lucee\tomcat\lucee-server\context\context\admin\debug\Modern.cfc: line 1
无论我将调试模板设置为经典还是现代,都会出现这种情况。除了安装 Lucee、调整服务器管理员中的一些设置以及在 IIS 中设置我的站点之外,我还没有在这台服务器上做任何事情。我确实尝试导航到 [My Webroot]\Nightscape\WEB-INF\lucee\context\Component.cfc 并发现它只是一个空白文件;它应该有内容吗?
【问题讨论】:
标签: lucee