Error creating bean with name 'xxx' nsatisfied dependency expressed through field 'xxx'
经过各种查阅,发现可能有如下问题
@Autowried注入可能出现错误(没有添加注解)
@Component,@Service,@Controller,@Repository注解可能出现错误(没有添加注解)
配置了数据源,但使用了@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
去掉(exclude = {...
原创
2020-04-18 15:43:52 ·
1828 阅读 ·
0 评论