ColdFusion Google Adwords Business Component Error

僤鯓⒐⒋嵵緔 提交于 2019-12-13 02:49:45

问题


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")>

The results in a:

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.]

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.


回答1:


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.




回答2:


There is a new version (V201101) of the AdWords API library for ColdFusion at http://www.cfsolutions.de/coldfusion_adwords_api/docs/index.cfm



来源:https://stackoverflow.com/questions/1288466/coldfusion-google-adwords-business-component-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!