Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- java.lang.IllegalArgumentException: Cannot convert value of type [org.apache.cxf.binding.soap.SoapVersionPropertyEditor] to required type [java.lang.Class] for property 'customEditors[org.apache.cxf.binding.soap.SoapVersion]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.apache.cxf.binding.soap.SoapVersionPropertyEditor] at ...
- <bean class="org.springframework.beans.factory.config.CustomEditorConfigurer">
- <property name="customEditors">
- <list>
- <bean class="com.company.CustomEditor"/>
- </list>
- </property>
- </bean>
- public class CustomEditor implements PropertyEditorRegistrar {
- @Override
- public void registerCustomEditors(PropertyEditorRegistry registry) {
- registry.registerCustomEditor(SoapVersion.class, new SoapPropertyEditor());
- }
- }
Add Comment
Please, Sign In to add comment