1.下载spring的jar包
https://repo.spring.io/webapp/#/artifacts/browse/tree/General/libs-release-local/org/springframework/spring/5.2.6.RELEASE/spring-5.2.6.RELEASE-dist.zip
spring-5.2.6.RELEASE-dist.zip
2.导入到Eclipse
2.1 打开Perfences
Window->Preferences
2.2 新建UserLibrary并导入jar包
侧边栏Java->Build Path-> User Libraries
New一个新的Library,命名为spring(叫啥都行,spring比较合理)
Add External JARs(将步骤1解压出的JAR包添加到spring中)
Apply and Close
3.导入到项目
3.1 进入到项目的Properties界面
3.2 导入项目
左侧边框 Java Build Path -> Add Library -> User Library -> Next
选择spring -> Finish
导入完成,完结撒花~