reset password
Author Message
nahmed5
Posts: 57
Posted 12:48 Mar 05, 2015 |

Hi! My hw6 was working fine till last night but suddenly I'm getting 404 error as I run it now. It says:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authentication.dao.DaoAuthenticationProvider#0': Cannot resolve reference to bean 'userService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'userService' is defined

But I have my userService bean defined and made no change in my applicationContext.xml. What can be the problem? Any idea? Please help!