添加依赖:
1 <!-- spring基础包spring-core --> 2 <dependency> 3 <groupId>org.springframework</groupId> 4 <artifactId>spring-core</artifactId> 5 <version>5.2.8.RELEASE</version> 6 </dependency> 7 <!-- spring基础包spring-beans --> 8 <dependency> 9 <groupId>org.springframework</groupId> 10 <artifactId>spring-beans</artifactId> 11 <version>5.2.8.RELEASE</version> 12 </dependency> 13 <!-- spring基础包spring-context --> 14 <dependency> 15 <groupId>org.springframework</groupId> 16 <artifactId>spring-context</artifactId> 17 <version>5.2.8.RELEASE</version> 18 </dependency> 19 <!-- spring基础包spring-expression --> 20 <dependency> 21 <groupId>org.springframework</groupId> 22 <artifactId>spring-expression</artifactId> 23 <version>5.2.8.RELEASE</version> 24 </dependency> 25 <!-- spring依赖包 --> 26 <dependency> 27 <groupId>commons-logging</groupId> 28 <artifactId>commons-logging</artifactId> 29 <version>1.2</version> 30 </dependency>
标签:5.2,第一个,创建,spring,springframework,Spring,RELEASE,org From: https://www.cnblogs.com/xiaobiti/p/17265080.html