ColdFusion Google Adwords商务组件错误 [英] ColdFusion Google Adwords Business Component Error

查看:270
本文介绍了ColdFusion Google Adwords商务组件错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Martin Orth的ColdFusion API for Google Adwords。我已经能够修复一些错误,以获得API在大多数情况下工作,但我遇到的路障,当我尝试使用business.cfc组件。我尝试创建组件与我已成功创建它们的其他API组件的语法相同的方式:

I am using Martin Orth's ColdFusion API for Google Adwords. I have been able to fix some errors to get the API working in most cases, but am running into a roadblock when I try to use the business.cfc component. I try to create the component the same way I have successfully created them for other components of the API with the syntax:

cfset oBusiness = createObject(component,com .google.adwords.api.v12.business)>

cfset oBusiness=createObject("component","com.google.adwords.api.v12.business")>

结果在:

coldfusion。 xml.rpc.CFCInvocationException:[java.lang.ClassNotFoundException:com.google.adwords.api.v12.business] [coldfusion.runtime.CfJspPage $ NoSuchTemplateException:找不到ColdFusion组件或接口长。]

coldfusion.xml.rpc.CFCInvocationException: [java.lang.ClassNotFoundException : com.google.adwords.api.v12.business][coldfusion.runtime.CfJspPage$NoSuchTemplateException : Could not find the ColdFusion Component or Interface long.]

即使business.cfc文件位于指定的路径并且未被修改。有没有人能够得到这个组件的工作?如果是这样,你可以发布你的business.cfc文件的副本吗?提前感谢。

even though the business.cfc file is located as the specified path and has not been modified. Has anyone been able to get this component to work? If so, can you post a copy of your business.cfc file? Thanks in advance.

推荐答案

我刚刚重写了整个代码减去注释和提示(过去的文件中有很多非法字符)一个新文件,它工作正常。

I just rewrote the entire code minus comments and hints (in past files there were many illegal chars) in a new file and it worked fine.

这篇关于ColdFusion Google Adwords商务组件错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆