我正在为 Google Adwords 使用 Martin Orth 的 ColdFusion API。在大多数情况下,我已经能够修复一些错误以使 API 正常工作,但是当我尝试使用 business.cfc 组件时遇到了障碍。我尝试以与成功为 API 的其他组件创建组件相同的方式创建组件,语法如下:
cfset oBusiness=createObject("组件","com.google.adwords.api.v12.business")>
结果如下:
Coldfusion.xml.rpc.CFCInvocationException:[java.lang.ClassNotFoundException:com.google.adwords.api.v12.business][coldfusion.runtime.CfJspPage$NoSuchTemplateException:找不到长时间的 ColdFusion 组件或接口。]
即使 business.cfc 文件位于指定路径并且尚未修改。有没有人能让这个组件工作?如果是这样,您可以发布您的 business.cfc 文件的副本吗?提前致谢。