Skip to content

Instantly share code, notes, and snippets.

@nyilmaz
Created February 24, 2014 18:49
Show Gist options
  • Save nyilmaz/9194404 to your computer and use it in GitHub Desktop.
Save nyilmaz/9194404 to your computer and use it in GitHub Desktop.
ERROR [2014-02-24 18:38:43,079] org.springframework.web.context.ContextLoader: Context initialization failed
! org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pipe.plug.principal.service.impl.PrincipalDetailsServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: pipe.plug.user.service.UserService pipe.plug.principal.principalmodifier.impl.PrincipalDetailsServiceImpl.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.springframework.security.crypto.password.PasswordEncoder pipe.plug.user.service.impl.UserServiceImpl.passwordEncoder; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.security.crypto.password.PasswordEncoder] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
! at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ~[spring-beans-3.2.7.RELEASE.jar:3.2.7.RELEASE]
!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment