BeanPropertyBindingResult cannot be cast to org.springframework.validation.Errors
I've been trying to move my portlet to liferay on weblogic 10 while at the same time upgrading it from spring 2.0.6 to 2.5.6
I've run into quite a few class cast exceptions but I just can't seem to solve this one.
I need help figuring out this class cast exception:
I run into this with any of the form tags like input, select, etc.
java.lang.ClassCastException: org.springframework.validation.BeanPropertyBindingResult cannot be cast to org.springframework.validation.Errors
However, if I leave an empty <form:form> then my portlet will render successfully.
So I'm almost there!