Idea使用技巧09--Spring 、SpringBoot相关设置技巧(Spring变量依赖注入出现红色波浪线、SpringBoot快速调出Run Dashboard)

1.Spring变量依赖注入出现红色波浪线

Could not autowire. No beans of 'UserMapper' type found. less... (Ctrl+F1) Checks autowiring proble

解决方案1:

将光标定位在usersMapper这个红色波浪线处,Alt+Enter,选择Inspection 'Autowiring for Bean Class' options,点开Edit inspection profile setting

解决方案2:

2.SpringBoot快速调出Run Dashboard

解决方案:关闭工程重新打开,会自动弹出如下界面,点击show run configurations in Run Dashboard

posted @ 2019-09-03 21:50  雨后观山色  阅读(1624)  评论(0)    收藏  举报