Anyone have an idea why this would be happening? My ColdSpring XML:
<bean id="sessionManager" class="com.SessionManager" />
<bean id="userManager" class="
com.userManager">
<constructor-arg name="reactor">
<ref bean="reactor" />
</constructor-arg>
<constructor-arg name="sessionManager">
<ref bean="sessionManager" />
</constructor-arg>
</bean>
Which should be passing the sessionManager as an argument to the init() method of the userManager. However when I run this I get this error:
The method 'setSessionManager' could not be found in component
D:\Inetpub\wwwroot\testapp\com\usermanager.cfc.
Check to ensure that the method is defined, and that it is spelled
correctly. <br>The error occurred on line 494.
This error coming from:
at
cfDefaultXmlBeanFactory2ecfc998836096$funcCONSTRUCTBEAN.runFunction(D:\Inetpub\wwwroot\coldspring\beans\DefaultXmlBeanFactory.cfc:494)
Not sure why ColdSpring would be trying to run setSessionManager() in this situation, any ideas? Thanks.
- [coldspring-dev] Setter being called when passing bean as... Brian Kotek
- [coldspring-dev] Setter being called when passing be... Brian Kotek
- [coldspring-dev] Setter being called when passing be... Sean Corfield
- [coldspring-dev] Setter being called when passing be... Brian Kotek
- [coldspring-dev] Setter being called when passing be... Peter J. Farrell
- [coldspring-dev] Setter being called when passing be... Chris Scott
- [coldspring-dev] Setter being called when passing be... Brian Kotek
- [coldspring-dev] Setter being called when passing be... Brian Kotek
- [coldspring-dev] Setter being called when passing be... Chris Scott
- [coldspring-dev] Setter being called when passing be... Qasim Rasheed
- [coldspring-dev] Setter being called when passing be... Brian Kotek
