I'm trying to implement validation in a springmvc app, I followed the example described at http://maestric.com/doc/java/spring/form_validation
When I run the app, I get the following error :
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'beanNameUrlHandlerMapping' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '/update.html' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'commandClass' of bean class [training.springmvc.crud.controller.UpdatePersonController]: No property 'commandClass' found
Anyone has an idea?