无法使用new query()找到ColdFusion组件或接口查询


Could not find the ColdFusion component or interface query.
Ensure that the name is correct and that the component or interface exists.

The error occurred in D:/sites/xxxxx/mobile/resource/nodeRO.cfc: line 34
32 :    this.touch = 0;
33 : 
34 :    **variables.QueryService = new query();**
35 :    variables.QueryService.setName("qryResult");

我已经检查了映射。不支持新建查询的对象是可以的重新启动CF服务,没有帮助

使用CF 9.02

现在什么?

在到处查找之后,发现CF服务器已被更新/升级到一个新目录。旧的CF根目录被重命名。

有一个自定义映射必须存在,new query()和其他工作。由于缺少该映射,它无法找到query.cfc

最新更新