org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors Field error in object 'account' on field 'customer': rejected value [Marius mbg@abc.com]; codes [typeMismatch.account.customer,typeMismatch.customer,typeMismatch.test.spring.plugin.domain.Customer,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [account.customer,customer]; arguments []; default message [customer]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'test.spring.plugin.domain.Customer' for property 'customer'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String] to required type [test.spring.plugin.domain.Customer] for property 'customer': no matching editors or conversion strategy found] org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894) org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789) javax.servlet.http.HttpServlet.service(HttpServlet.java:754) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) root cause org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors Field error in object 'account' on field 'customer': rejected value [Marius mbg@abc.com]; codes [typeMismatch.account.customer,typeMismatch.customer,typeMismatch.test.spring.plugin.domain.Customer,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [account.customer,customer]; arguments []; default message [customer]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'test.spring.plugin.domain.Customer' for property 'customer'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String] to required type [test.spring.plugin.domain.Customer] for property 'customer': no matching editors or conversion strategy found] org.springframework.web.method.annotation.ModelAttributeMethodProcessor.resolveArgument(ModelAttributeMethodProcessor.java:110) org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:74) org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:155) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:117) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789) javax.servlet.http.HttpServlet.service(HttpServlet.java:754) javax.servlet.http.HttpServlet.service(HttpServlet.java:847