Unsatisfied dependency expressed through field ‘baseMapper‘; nested exception is org.springframewor

简介: Unsatisfied dependency expressed through field ‘baseMapper‘; nested exception is org.springframewor

Unsatisfied dependency expressed through field ‘baseMapper‘; nested exception is org.springframewor
99/100
发布文章
weixin_45206218
未选择文件
new
在springboot启动类上加上dao或者mapper

@MapperScan("com.zhao.blog.mapper")

然后就正常启动
在这里插入图片描述

在springboot启动类上加上dao或者mapper

@MapperScan("com.zhao.blog.mapper")
然后就正常启动
在这里插入图片描述

Markdown 297 字数 8 行数 当前行 1, 当前列 0HTML 70 字数 3 段落

相关文章
|
XML 数据格式
解决Unsatisfied dependency expressed through field ‘jdbcTemplate‘;问题~
解决Unsatisfied dependency expressed through field ‘jdbcTemplate‘;问题~
509 0
|
4月前
Unsatisfied dependency expressed through field 'restTemplate';
Unsatisfied dependency expressed through field 'restTemplate';
88 0
|
7月前
Unsatisfied dependency expressed through field ‘baseMapper‘
Unsatisfied dependency expressed through field ‘baseMapper‘
48 2
|
XML SQL Java
【SSM】nested exception is org.apache.ibatis.binding.BindingException: Invalid boun原因总结
【SSM】nested exception is org.apache.ibatis.binding.BindingException: Invalid boun原因总结
1104 0
【SSM】nested exception is org.apache.ibatis.binding.BindingException: Invalid boun原因总结
|
7月前
|
前端开发 Java 数据库连接
若依 mybatis报错nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘XXX‘ 错误
若依 mybatis报错nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘XXX‘ 错误
145 0
|
Java Linux 程序员
记录:Unsatisfied dependency expressed through field 'XxxService'...【亲测有效】
记录:Unsatisfied dependency expressed through field 'XxxService'...【亲测有效】
1596 1
|
7月前
No qualifying bean of type [com.XX.mapper.SysNameMapper ] found for dependency
No qualifying bean of type [com.XX.mapper.SysNameMapper ] found for dependency
97 0
|
XML SQL Java
mybatis-plus异常记录:org.apache.ibatis.binding.BindingException Invalid bound statement
mybatis-plus异常记录:org.apache.ibatis.binding.BindingException Invalid bound statement
1678 0
mybatis-plus异常记录:org.apache.ibatis.binding.BindingException Invalid bound statement
|
Java 容器 Spring
No qualifying bean of type或Unsatisfied dependency expressed through field ‘XXXService‘或@Autowired 注入
No qualifying bean of type或Unsatisfied dependency expressed through field ‘XXXService‘或@Autowired 注入
198 0
Unsatisfied dependency expressed through field ‘passwordEncoder
Unsatisfied dependency expressed through field ‘passwordEncoder
103 0
Unsatisfied dependency expressed through field ‘passwordEncoder