org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.cmc.dao.ReportUserDaoTest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.cmc.dao.ReportUserDao com.cmc.dao.ReportUserDaoTest.reportUserDao; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.appfuse.dao.hibernate.UserDaoHibernate] for bean with name 'userDao' defined in class path resource [applicationContext-dao.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/security/userdetails/UserDetailsService

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by Al Sweetman

Check Servers Launch Configuration in Eclipse. See the details below.

,
via playframework.com by Unknown author

Add guice to the dependencies.

libraryDependencies += guice

Solutions on the web

via AppFuse JIRA by Selvakumar, 1 year ago
via AppFuse JIRA by Selvakumar, 1 year ago
via GitHub by Parvgupta
, 1 year ago
Error creating bean with name 'mainDispatcher': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private
via liferay.com by Unknown author, 2 years ago
Error creating bean with name 'mainDispatcher': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private
via Stack Overflow by Trilobitak
, 1 year ago
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DAOAuthenticationConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field
via com.br by Unknown author, 1 year ago
Error creating bean with name 'grupoController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.cmc.dao.ReportUserDaoTest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.cmc.dao.ReportUserDao com.cmc.dao.ReportUserDaoTest.reportUserDao; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.appfuse.dao.hibernate.UserDaoHibernate] for bean with name 'userDao' defined in class path resource [applicationContext-dao.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/security/userdetails/UserDetailsService
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:283)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
7 times, 2 months ago
112 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.