Spring
1, Spring
![image-20220402114445146]()
1.1 简介:
Spring创始人:Rod Johnson
官网地址:https://spring.io/projects/spring-framework
官方文档:https://docs.spring.io/spring-framework/docs/current/reference/html/core.html
GitHub:https://github.com/spring-projects/spring-framework
视频地址:https://www.bilibili.com/video/BV1WE411d7Dv
项目结构:
![image-20220407225201406]()
本人练习代码下载地址:
阿里云:
链接:https://pan.baidu.com/s/1igtSaMC1UosehZuyTVpEqg 提取码:dyb2
Maven依赖:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.3.17</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>5.3.17</version>
</dependency>
父类Maven依赖:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId>
<artifactId>Spring-01</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<modules>
<module>Spring-01-ioc</module>
<module>Spring-02-hello</module>
<module>Spring-03-ioc2</module>
<module>Spring-04-di</module>
<module>Spring-05-Autowired</module>
<module>Spring-06-anno</module>
<module>Spring-08-proxy</module>
<module>Spring-09-aop01</module>
<module>Spring-09-aop02</module>
<module>Spring-09-aop03</module>
<module>Spring-10-MyBatis</module>
<module>Spring-10-SpringMyBatis</module>
<module>Spring-11-transaction</module>
</modules>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.3.17</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>