I have a factory class in my project. This class has a static factory method "createBean(SomeOtherBean arg)", with a bean declaration as follows:
This code works fine within the spring framework itself, however the Spring-IDE complains withCode:<bean id="myBean" class="MyFactory" factory-method="createBean"> <constructor-arg> <ref local="someOtherBean"/> </constructor-arg> </bean>
No constructor with 1 argument defined in class 'MyFactory'
I'm using Spring-IDE 1.2.0 with Eclipse 3.0.2


Reply With Quote
.