W
e
l
c
o
m
e
: )

Maven之IDEA创建XML Configuration File时没有Spring Config的选项

在创建配置文件时出现下图问题
在这里插入图片描述
解决方法:
需要在pom.xml中引入jar包

 <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context</artifactId>
      <version>5.0.2.RELEASE</version>
    </dependency>

并导入之后刷新maven项目,即会出现。

posted @ 2021-08-04 21:31  所遇所思  阅读(26)  评论(0编辑  收藏  举报  来源