记录一下这个错误
Consider defining a bean of type ‘com.blockone.apptest.util.JwtTokenUtils’ in your configuration.
解决方案
mapper接口上 + @Mapper + @Component
如果你是用mybatis的话,那么注意在mapper层有没有@mapper注解,在service层的impl层有没有@Service注解,依此类推就这样
记录一下这个错误
Consider defining a bean of type ‘com.blockone.apptest.util.JwtTokenUtils’ in your configuration.
解决方案
mapper接口上 + @Mapper + @Component
如果你是用mybatis的话,那么注意在mapper层有没有@mapper注解,在service层的impl层有没有@Service注解,依此类推就这样