IDEA 报错 Could not autowire. No beans of ‘UserMapper’ type found. 解决办法: Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring for Bean Class - disable(把√去掉)