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

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, 2 years 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

4 times, 5 days ago
37 times, 6 months ago
2 times, 1 year ago
11 times, 1 year ago
2 times, 1 year ago

Write tip

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