Back Forum Reply New

Issues with PropertyEditors

How to configure PropertyEditors in a Spring application?

I am unable to configure the same.

Always it throws an exception

I have two entities
College and Student

College has one to many relationship with Student
and Student has many to one relationship with college.

when I am trying to validate student form it give the following error in the browser itself

Failed to convert property value of type [java.lang.String] to required type [student.sys.form.College] for property college; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [student.sys.form.College] for property college: no matching editors or conversion strategy found

I am fed up with this exception.

In Spring Reference manual it is mentioned that this problem can be solved by editors Please help......
thanks in advance.....
¥
Back Forum Reply New