IDEA找不到配置文件cannot resolve file ‘spring.xml’ 原因是没有Mark Directory as Resources Root 将resource文件加上resource root即可