Error creating bean with name ‘dataSource‘: Unsatisfied dependency expressed through field

时间:2025-04-04 08:06:14

Error creating bean with name ‘dataSource’: Unsatisfied dependency expressed through field ‘basicProperties’;
解决方法:
项目缺少了 这个jar包,在中添加依赖

<dependency>
     <groupId>org.springframework.boot</groupId>
     <artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>