File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Spring:xception in thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring:xception in thread "main" org.springframework.beans.factory.BeanCreationException" Watch "Spring:xception in thread "main" org.springframework.beans.factory.BeanCreationException" New topic

Spring:xception in thread "main" org.springframework.beans.factory.BeanCreationException

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Getting below exception while running mentioned spring test code : please help



No Kaustubh No Fun, Know Kaustubh Know Fun..
Bill Gorder

Joined: Mar 07, 2010
Posts: 1648

That does not match any of the constructors you have defined for you employee object.

You need to either provide no arguments, an Address bean, or a String, int, Address

[How To Ask Questions][Read before you PM me]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Spring:xception in thread "main" org.springframework.beans.factory.BeanCreationException
Similar Threads
Problem in spring mvc configuration
Spring AOP HELP needed
Spring 2.5 - Transaction example
Spring+Hibernate can't create SessionFactory bean
spring form submission