Guest User

Untitled

a guest
Oct 23rd, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. 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 ...
  2.  
  3. <bean class="org.springframework.beans.factory.config.CustomEditorConfigurer">
  4. <property name="customEditors">
  5. <list>
  6. <bean class="com.company.CustomEditor"/>
  7. </list>
  8. </property>
  9. </bean>
  10.  
  11. public class CustomEditor implements PropertyEditorRegistrar {
  12.  
  13. @Override
  14. public void registerCustomEditors(PropertyEditorRegistry registry) {
  15. registry.registerCustomEditor(SoapVersion.class, new SoapPropertyEditor());
  16. }
  17. }
Add Comment
Please, Sign In to add comment