setting----editor----inspections----搜索spring core 将搜索结果中的Autowiring for bean class的Severity选项警告级别error设置为warning