1、引入实体报错:
Could not autowire. No beans of ‘xxxx’ type found
2、解决方式: File–>Settings–>Editor–>Inspections–>搜索框输入【spring】—>Spring Code---->Code—>Autowiring for Bean Class ---->Severity----->将ERROR级别调制Warning ,如下图: 参考自:https://blog.csdn.net/yyqhwr/article/details/81010437