这个错误的主要原因是1看xxbean是否已经注入,或者得到的bean名字错误.2看spring的配置文件
<context:component-scan base-package="com.xx"></context:component-scan>是否扫描了
---------------------------------
一般上面不会犯错
基本是service 实现类名字写错了
这个错误的主要原因是1看xxbean是否已经注入,或者得到的bean名字错误.2看spring的配置文件
<context:component-scan base-package="com.xx"></context:component-scan>是否扫描了
---------------------------------
一般上面不会犯错
基本是service 实现类名字写错了