Consider defining a bean of type 'xxx' in your configuration异常解决方法

问题描述 博主今天编写代码的时候遇到了一个这样的错误(如下图) 第一句异常信息意思是: com.atguigu.gmall.utils.config中的字段authInterceptor。WebMvcConfiguration需要一个类型为“com.atguigu.gmall.utils.interceptor.AuthInterceptor”的bean,但是找不到它。 通过这句话,很显然就知道这
相关文章
相关标签/搜索