IDEA 报错 Could not autowire. No beans of 'UserMapper' type found.
2018-03-29 22:40
295 查看
红线的报错内容:
Could not autowire. No beans of 'RestTemplate' type found. less... (Ctrl+F1) Checks autowiring prob
如图:
解决方法:在 Intellij Idea中设置一下:
Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring for Bean Class - disable(idea2017是把√去掉)
Could not autowire. No beans of 'RestTemplate' type found. less... (Ctrl+F1) Checks autowiring prob
如图:
解决方法:在 Intellij Idea中设置一下:
Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring for Bean Class - disable(idea2017是把√去掉)
相关文章推荐
- IDEA中的maven web 项目中如何设置自己的本地仓库
- idea配置tomcat的方法
- idea2016 配置tomcat
- IDEA+Springboot+devtools实现热部署
- IDEA GIT 上传项目
- IntelliJ IDEA-ssm使用IDEA创建一个Maven风格的ssm项目
- Springmvc + Mybatis + IntelliJ IDEA 环境搭建
- IDEA 自动导包
- IDEA快捷键整理(最详细的)
- idea利用sbt打包scala程序为jar包 并发布到集群中测试
- @maohoo Intellij idea 一次性包导入
- idea 中Java web项目只中创建Java main方法运行出现ClassNotFoundException
- [IDEA]习惯用的idea快捷方法
- IDEA 常用快捷键
- IDEA 编译 JS 无法使用require()
- idea 上传项目到GitHub遇到的坑
- IDEA 中用Maven方式配置SpringMVC
- IDEA 打jar , jar包执行命令
- Intellij IDEA开发环境配置及实际开发应用
- idea 破解