51
Dev开发社区
首页
文章
问答
工具
搜索
登录
注册
#qualifying
No qualifying bean of type '***' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations:
搭建springmvc项目的dao层之后,经常出现这样的错误。一般是由于spring扫描时候没有配置具体的目录,或者配置了但是包名不对造成的。但是今天自己出这个问题,找了半天没找到哪里出问题。最后仔细看配置文件,发现是自己的applicationContext-springmvc.xml一处配置...
代码星球
·
2020-04-05
bean
No
qualifying
of
type
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他