找不到Spring Config的解决办法
-
step 1 在pom.xml添加以下代码
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.2.10.RELEASE</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
-
step 2 点击右侧Maven
-
-
step 3 点刷新
-
-
step 4 最后右击resources -> new -> XML Configuration File就能看到Spring Config了