We have a number of custom "org.springframework.core.convert.converter.Converter" converters that help us automatically map URL params in rest requests to our domain objects.
Today we have these converters registered by defining a conversion service:
<bean id="conversionService" class="org.springframework.format.support.FormattingConversionServiceFactoryBean">
<property name="converters">
<set>
<!-- List of custom converter beans here -->
</set>
</property>
</bean>
and then registering it using:
<mvc:annotation-driven conversion-service="conversionService" />
However we get the following exception on startup for each of our definitions:
org.springframework.core.convert.ConversionFailedException: Failed to convert from type java.util.ArrayList<?> to type java.util.List<org.springframework.core.io.Resource> for value '[/WEB-INF/images/]'; nested exception is org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type java.lang.String to type org.springframework.core.io.Resource
Has anyone encountered / resolved this before?
We are using spring 3.2.9.