PDA

View Full Version : Problem with nested 'anonymous beans'


karaznie
Aug 13th, 2004, 05:21 AM
Hi,

It seems that SpringIDE has problems with validating beans which use nested 'anonymous beans'. Simple exaple:

<bean id="foo" class="com.acme.Foo">
<property name="test">
<bean class="com.acme.Bar">
<property name="baz"><null/></property>
</bean>
</property>
</bean>

SpringIDE states that bean "foo" has no setter "baz". It's true, but com.acme.Bar has. Any ideas?

Artur

Torsten Juergeleit
Aug 13th, 2004, 02:48 PM
Artur,

this is a bug in v1.0.3 with inner beans in general (http://opensource.atlassian.com/projects/spring/browse/IDE-9 ).

This is already fixed (on my local system :) ) in the upcoming version 1.0.4.

So stay tuned...

Regards,
Torsten

karaznie
Aug 14th, 2004, 08:10 AM
So stay tuned...


Thanks. Can't wait :).

Artur

cdk2128
Sep 3rd, 2004, 05:34 PM
That answers my question as well :)

http://forum.springframework.org/showthread.php?t=10109