• Post Reply Bookmark Topic Watch Topic
  • New Topic

Registering Custom property Editiors

 
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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!