1
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 の使用

それで?

4

1 に答える 1

4

あちこち探し回った結果、CF サーバーが新しいディレクトリに更新/アップグレードされていることが判明しました。古い CF ルート ディレクトリの名前が変更されました。

new query()およびその他が機能するために存在しなければならないカスタム マッピングがあります。そのマッピングが欠落していたため、 が見つかりませんquery.cfcでした。

于 2013-03-16T05:19:39.803 に答える