CFIDE 管理者でディレクトリを REST アプリとして登録しようとしています。
REST サービスの登録中にエラーが発生しました。適切なマッピングとパスを入力したことを確認してください。アプリケーション サービスを初期化できませんでした。理由: アプリケーションに残りの有効な CFC が含まれていません。アプリケーションには、残りの有効な CFC が含まれていません。
私のディレクトリには以下が含まれています:
アプリケーション.cfc
component output="false"
{
this.name = "otticanet-rest";
this.applicationTimeout = createTimespan(0,1,0,0);
this.datasource = "svvv";
this.restsettings.skipCFCWithError = true;
public boolean function onRequestStart()
{
return true;
}
}
製品.cfc
<cfcomponent rest="true" restpath="occhiali">
<cffunction name="getByMarchioAndTipo"
access="remote"
httpmethod="GET"
restpath="{idmarchio}/{idtipo}"
returntype="Struct"
produces="application/json">
<cfargument name="marchio" required="true" restargsource="Path" type="numeric" />
<cfargument name="tipo" required="true" restargsource="Path" type="numeric" />
<cfreturn LOCAL.s />
</cffunction>
...
だから何?
さらに、これは1か月前に機能しました。何が起こる可能性がありますか?