ConversionServiceFactoryBean error in spring-config.xml file

I am using this bean in an application of mine.
The application runs fine but the compiler produces a warning when I am trying to use the list tag :

<bean id="conversionService" >
        <property name="converters">
                <bean />
Comment actions Permalink

Why do you want to use <list> for property "converters" which is a Set? Just use <set> instead?

Comment actions Permalink

I replaced list tag with set tag and it works again, without the compiler warnings.
The list tag is the tag that is being used by the author of a book I am reading (Pro Spring 3 from Apress).


Please sign in to leave a comment.