Field authenticationManager in com.spring.cloud.authentic.config.JwtAuthorizationConfig required a bean of type 'org.springframework.security.authentication.AuthenticationManager' that could not be found.
没有AuthenticationManager 这个bean 无法注入
在securityconfig类中注入
@Bean public AuthenticationManager authenticationManagerBean() throws Exception { return super.authenticationManagerBean(); }
Failed to instantiate [org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter]: Factory method 'jwtAccessTokenConverter' threw exception; nested exception is java.lang.IllegalArgumentException: [Assertion failed] - this String argument must have text; it must not be null, empty, or blank
[Assertion failed] - this String argument must have text; it must not be null, empty, or blank
检查数据库连接。一般都是数据库连接不上