Field userDetailsService in com.tihom.security.app.config.TiHomAuthorizationServerConfig required a single bean, but 2 were found:
myUserDetailsService: defined in file [/Users/pengshuai3/project/thrid/TiHom-Security/tihom-security-demo/target/classes/com/tihom/security/MyUserDetailsService.class]
rbacUserDetailsService: defined in file [/Users/pengshuai3/project/thrid/TiHom-Security/tihom-security-authorize/target/classes/com/tihom/security/rbac/authentication/RbacUserDetailsService.class]
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
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