IDEA不能新建spring下的配置文件xml

时间:2024-03-12 11:51:46

需要先在maven的pom.xml文件里注入
<!-- https://mvnrepository.com/artifact/org.springframework/spring-context -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.2.4.RELEASE</version>
</dependency>