Announcement Announcement Module
Collapse
No announcement yet.
BeanPropertyBindingResult cannot be cast to org.springframework.validation.Errors Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • BeanPropertyBindingResult cannot be cast to org.springframework.validation.Errors

    Hi,

    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:

    Code:
    java.lang.ClassCastException: org.springframework.validation.BeanPropertyBindingResult cannot be cast to org.springframework.validation.Errors
    I run into this with any of the form tags like input, select, etc.

    However, if I leave an empty <form:form> then my portlet will render successfully.

    So I'm almost there!
Working...
X