在Eclipse通过maven添加spring需要的jar包

在eclipse中新建maven项目,然后在pom.xml中添加依赖保存即可。
依赖如下

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

代码来源参考spring官网。链接https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Artifacts
仅当记录

猜你喜欢

转载自blog.csdn.net/weixin_43763175/article/details/88543216