are you *sure* you copied cs into your web root?
On 2/13/07, Steve Brownlee <[EMAIL PROTECTED]> wrote:
Finally making time to try out ColdSpring. I unzipped the package and
copied the directory into my root. I opened up the installation page and
copied the very first line of code…
---------------------------------------------
<cfset myBeanFactory =
createObject("component","coldspring.beans.DefaultXmlBeanFactory").init()/>
You should be able to run the above line of code without error if ColdSpring
is installed correctly on your server.
---------------------------------------------
I open up that page, and I get an error shown below...
The value returned from function init() is not of type
coldspring.beans.DefaultXmlBeanFactory.
I don't understand why the init() function's return type is the entire
package for the component anyway…
<cffunction name="init" access="public"
returntype="coldspring.beans.DefaultXmlBeanFactory"
output="false"
As soon as I take out the package designation and just return the component
name, everything works fine as I expected it would.
<cffunction name="init" access="public"
returntype="DefaultXmlBeanFactory" output="false"
Does this mean I'll have to go through the entire framework and remove the
package name from each returntype attribute?
Any ideas are appreciated.
Steve Brownlee
http://www.fusioncube.net/
--
Ryan Guill
A Deep Blue
[EMAIL PROTECTED]
www.ryanguill.com
(270) 217.2399
got google talk? Chat me at [EMAIL PROTECTED]
www.ryanguill.com/
A Deep Blue Blog: www.ryanguill.com/blog/