SpringBoot启动项目报错: Consider defining a bean of type ‘xxx‘ in your configuration.
今天遇到一个问题很奇怪,SpringBoot项目启动报错提示:Description:FielduserDAOincom.cml.service.impl.UserServiceImplrequiredabeanoftype'com.cml.dao.UserDAO'thatcouldnotbefound.Action:Considerdefiningabeanoftype'com.cml.dao.