idea创建spring.xml文件,没有spring config选项
解决方法:
1.在pom.xml中添加spring-context依赖
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.2.2.RELEASE</version>
</dependency>
2.刷新maven
问题解决