• Post Reply Bookmark Topic Watch Topic
  • New Topic

Registering Custom property Editiors  RSS feed

 
gopal ramana
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to spring using 2.5 version. I am getting following error Searched for this error but not find appropriate solution.



At runtime thowing exception

Error creating bean with name 'program1' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [com.brain.software.PhoneNumber] for property 'phoneNumber'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [com.brain.software.PhoneNumber] for property 'phoneNumber': no matching editors or conversion strategy found


please guide me..i am not able to solve...please help me..



warm Regards,
ramana
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!