Just installed 1.3 and I'm getting, what I believe, are invalid errors. I have the following:
Two validation errors, which both are incorrect:Code:<bean abstract="true" id="AbstractFactory" class="my.Manager" factory-method="getService" singleton="false"> </bean> <bean id="bean" parent="AbstractFactory"> <constructor-arg type="java.lang.String" value="valueOne" /> <constructor-arg type="java.lang.Class" value="my.class.Name" /> </bean>
On bean id 'AbstractFactory' saying there isn't a zero arg static factory method (which there isn't), but this bean is abstract, so there doesn't have to be.
On bean id 'bean', it says no constructor with two arguments in class my.Manager. Again, this is true, but the constructor args in this case are being used to invoke the factory-method 'getService' which does have the appropriate args.
I've looked through the tickets and didn't see anything like this, but I can't be sure.
Anyone else hit something like this?


Reply With Quote