wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 513

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: http://aspose.com/file-tools
subject: org.springframework.beans.factory.NoSuchBeanDefinitionException: