spring-boot @Component创建失败
创建时提示 AuthorizationServerTokenServices 类注入失败
下面为源码
麻烦各位大佬帮忙看看
根源在异常的最后一句,找不到 org.springframwork.security.jwt.crypto.sign.MacSigner
试试加上这个依赖:
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-jwt</artifactId>
</dependency>