SPRINGMVC Exception:
11:11:01.655 [http-apr-8080-exec-10] DEBUG o.s.w.s.m.a.annotationmethodhandlerexceptionresolver-resolving Exception from Handler [COM.MTL.SPRINGMVC.CRUD.HANDLERS.EMPLOYEEHANDLER@76E86C03]: Org.springframework.validation.bindexception:org.springframework.validation.beanpropertybindingresult:1 errors
Field error in object ' Employee ' on field ' department ': rejected value [102]; codes [Typemismatch.employee.department,typemismatch.department, Typemismatch.com.mtl.springmvc.crud.entity.department,typemismatch]; arguments [Org.springframework.context.support.DefaultMessageSourceResolvable:codes [Employee.department, Department]; arguments []; Default message [department]]; Default message [Failed to convert property value of type ' java.lang.String ' to required type ' Com.mtl.springmvc.crud.enti Ty. Department ' for property ' Department '; Nested exception is Java.lang.IllegalStateException:Cannot convert value of type [java.lang.String] to required type [COM . mtl.springmvc.crud.entity.Department] for property ' Department ': no matching editors or conversion strategy found]
Reason: