记录一下这个错误
Consider defining a bean of type ‘com.blockone.apptest.util.JwtTokenUtils’ in your configuration.
解决方案
mapper接口上 + @Mapper + @Component
如果你是用mybatis的话,那么注意在mapper层有没有@mapper注解,在service层的impl层有没有@Service注解,依此类推就这样
发布者:admin,转转请注明出处:http://www.yc00.com/web/1738334533a4038608.html
评论列表(0条)