文章目录
SSM框架报错集锦
一、SpringBoot&&Mybatis-Plus&&Mybatis
1.通过映射类表示的依赖无法被满足,从而导致不能创建Bean
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘userServiceImpl’: Unsatisfied dependency expressed through field ‘baseMapper’;
可能性1:数据库地址配置问题
在application.properties
之中添加上如下配置,问题解决
spring.datasource.driver-class-name=com.mysql.jdbc.