This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes org.springframework.beans.factory.NoSuchBeanDefinitionException: 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 "org.springframework.beans.factory.NoSuchBeanDefinitionException:" Watch "org.springframework.beans.factory.NoSuchBeanDefinitionException:" New topic


pra div

Joined: Feb 02, 2011
Posts: 6
hi any body resolve this error. In a spring3- hibernate3 proj exec i got this error.

Error creating bean with name 'groupController' defined in ServletContext resource [/WEB-INF/test-servlet.xml]: Cannot resolve reference to bean 'groupDAO' while setting bean property 'Groupdao'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'groupDAO' is defined

thank you
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 507

Exception clearly tells you that, groupDAO bean is not defined. Do you a bean with this id.? please post your test-servlet.xml..

Regards, Prasad
SCJP 5 (93%)
I agree. Here's the link:
subject: org.springframework.beans.factory.NoSuchBeanDefinitionException:
Similar Threads
No unique bean of type [javax.persistence.EntityManagerFactory] is defined: but found 0
Spring 2.5 - Transaction example
Injection Issue in standalone jar
Error defining a bean. Please help
ScheduledTimerTask - Period is not consistent