首页 > 应用开发 > > Spring Boot 一个DAO报错了
下面是报错信息
Description:
Field classHourRecordDAO in com.temp.service.export.impl.DataReportServiceImpl required a bean of type 'com.temp.dao.finance.ClassHourRecordDAO' that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)启动项如下
@SpringBootApplication
@EnableTransactionManagement
//
public class Application {
public static void main(String[] args) {
//star
SpringApplication.run(Application.class,args);
}
}我其他的DAO都没有报错呀!!!
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/818/viewspace-3164694/ ,如需转载,请注明出处,否则将追究法律责任。