请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

AnnotationCacheService' that could not be found.

Field cacheService in pan.server.modules.user.service.impl.UserServiceImpl required a bean of type ‘pan.server.common.cache.AnnotationCacheService’ that could not be found.

The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)

图片描述图片描述图片描述图片描述

图片描述
请问一下这样的情况怎么办?(之前的所有注入都没报错应该不是包扫描的问题吧,试了网上的invalidate cache/restart 没用)

包结构:
图片描述
图片描述

正在回答 回答被采纳积分+3

1回答

RubinChu 2023-10-12 12:39:40

看一下包扫描的路径和你实际的包路径是不是一致哈,看样子好像你有过改动

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号