I have problem:
In a spring configuration file I'm trying to innitialize a Boolean property
<bean class="....">
<property name="enabled" value="true"/>
</bean>
I always get:
org.springframework.beans.TypeMismatchExceptions: Failed to convert
property value of type [java.lang.String] to required type [boolean] for
proerty 'enabled'.
The signature of the property is:
public void setEnabled(java.lang.Boolean arg0);
in some JAXB generated code;
I had thought Spring had some default property editor, and the reference
says so, (i.e. CustomBooleanPropertyEditor) that it just does these
conversions automatically by default.
Has this conversion (property editor) been turned off or disabled in CXF
anywhere?
Anybody have an answer, workaround, or a clue for me?
Cheers,
-Polar