我在 Windows 8.1 上安装了 ColdFusion 2016 开发者版。我将我的 CF 项目文件夹 MyCFProject 复制到C:\ColdFusion2016\cfusion\wwwroot\CFIDE
目录并打开http://localhost/MyCFProject/index.cfm
index.cfm 在 MyCFProject 文件夹中的位置。该网址运行良好,我可以成功运行该应用程序。但是我复制了另一个项目文件夹MySecondProject
,该文件夹也有一个 index.cfm 文件并打开http://localhost/MySecondProject/index.cfm
了给我以下错误的 url。这两个项目都是从安装了 ColdFusion 11 的 Windows 7 复制的,并且两个项目在那里都可以正常工作:
错误:
File not found: /MySecondProject/Index.cfm
Browser Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36
Remote Address ::1
Referrer
Date/Time 23-Jul-16 08:00 PM
Stack Trace
coldfusion.runtime.TemplateNotFoundException: File not found: /MySecondProject/Index.cfm
at coldfusion.filter.PathFilter.invoke(PathFilter.java:145)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
at coldfusion.CfmServlet.service(CfmServlet.java:219)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)