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‘;问题~
376 0
|
2月前
Unsatisfied dependency expressed through field 'restTemplate';
Unsatisfied dependency expressed through field 'restTemplate';
74 0
|
3月前
|
XML Java Apache
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘t
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘t
|
4月前
|
Java 数据库连接 mybatis
【已解决】nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘qcBizname‘ not found
【已解决】nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘qcBizname‘ not found
126 0
|
5月前
Unsatisfied dependency expressed through field ‘baseMapper‘
Unsatisfied dependency expressed through field ‘baseMapper‘
41 2
|
5月前
No qualifying bean of type [com.XX.mapper.SysNameMapper ] found for dependency
No qualifying bean of type [com.XX.mapper.SysNameMapper ] found for dependency
91 0
|
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原因总结
1071 0
【SSM】nested exception is org.apache.ibatis.binding.BindingException: Invalid boun原因总结
|
Java Linux 程序员
记录:Unsatisfied dependency expressed through field 'XxxService'...【亲测有效】
记录:Unsatisfied dependency expressed through field 'XxxService'...【亲测有效】
1492 1
|
11月前
|
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 注入
140 0
Unsatisfied dependency expressed through field ‘passwordEncoder
Unsatisfied dependency expressed through field ‘passwordEncoder
89 0
Unsatisfied dependency expressed through field ‘passwordEncoder