I have a component I want to inject with a java.util.Date value. However I have no way of defining a converter.
I get this error:
Caused by: java.lang.IllegalArgumentException: No converter for type: java.util.Date
This is my component:
<component name="tidsromFraTilTest" class="mypackage.FromTo"> <property name="fromDate">12.12.2009</property> <property name="toDate">31.12.2009</property> </component>
I want the java.util.Date fromDate and toDate to be automatically injected with the values of 12.12.2009 and 31.12.2009.