This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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: 653

Exception clearly tells you that, groupDAO bean is not defined. Do you a bean with this id.? please post your test-servlet.xml..
I agree. Here's the link:
subject: org.springframework.beans.factory.NoSuchBeanDefinitionException:
jQuery in Action, 3rd edition