tihomcode / TiHom-Security

基于SpringBoot+SpringSecurity+SpringSocial+JWT等的第三方登录(微信QQ)和安全认证框架
147 stars 57 forks source link

userDetailService required a single bean,but 2 were found #1

Open sunddytwo opened 6 years ago

sunddytwo commented 6 years ago

APPLICATION FAILED TO START


Description:

Field userDetailsService in com.tihom.security.app.config.TiHomAuthorizationServerConfig required a single bean, but 2 were found:

Action:

Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed

niyaode commented 6 years ago

解决了吗,他这个项目能用吗