Does anyone know why I'm getting this error when trying to run the sample blog app. There is no init in either the object of the one it extends from yet there is this code...
<cfset variables.Reactor = CreateObject("Component", "
reactor.reactorFactory").init(variables.BlogConfig.getReactorConfigFile()) />
on line 20 of BlogController
The selected method Init was not found.
Either there are no methods with the specified method name and argument
types, or the method Init is overloaded with arguments types that
ColdFusion can't decipher reliably. If this is a Java object and you
verified that the method exists, you may need to use the javacast
function to reduce ambiguity.
The error occurred in D:\Inetpub\wwwroot\ReactorBlogData\Gateway\EntryGateway.cfc: line 7
Called from D:\Inetpub\wwwroot\ReactorSamples\Blog\controller\BlogController.cfc: line 24
Called from D:\Inetpub\wwwroot\ModelGlue\unity\loader\XmlConfigurationLoader.cfc: line 209
Called from D:\Inetpub\wwwroot\ModelGlue\unity\loader\XmlConfigurationLoader.cfc: line 58
Called from D:\Inetpub\wwwroot\ModelGlue\unity\loader\FrameworkLoader.cfc: line 73
Called from D:\Inetpub\wwwroot\ModelGlue\unity\ModelGlue.cfm: line 108
Called from D:\Inetpub\wwwroot\ModelGlue\ModelGlue.cfm: line 4
Called from D:\Inetpub\wwwroot\reactorSVN\ReactorSamples\Blog\index.cfm: line 27
5 :
6 : <cffunction name="Init" access="Public" returnType="BlogController" output="false" hint="I build a new BlogController">
7 : <cfreturn
super.Init() />
8 : </cffunction>
9 : </cfcomponent>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
reactor@doughughes.net
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --