一下以@Repository注解为例进行说明: 1,检查一下@Repository注解设置的名字name,,如果@Repository采取默认值,则是类名首字母小写,,看一下getBean时是否有写错1,检查一下@Repository注解设置 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交