解决:Error creating bean with name 'customerServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException:

在写新模块时报错,无法注入 找了好久,直到看见

原来是配置文件的问题
我的问题是方法名重复
其他问题有:1、namespace 和接口名对应,注意大小写
2、注意类名的一致性
3、还有就是注解@Controller @Service这类的问题
浙公网安备 33010602011771号