idea 配置spring项目ApplicationContext.xml自动生成 1.点击file 2.点击setting 3.按照如图所示添加spring配置 4.按照如图所示创建applicationContext.xml 5.出现如图所示则为配置成功