项目类型:maven 配置:正常 原因:没有更新maven,导致某些类没有注入 解决:maven --> update project 转载于:https://www.cnblogs.com/naer/p/9466579.html