SSM:springMVC+Spring+Mybatis
1.版本查询与下载
2.maven-pom.xml配置
1.版本查询与下载
1.1.spring官网:https://spring.io/projects/spring-framework#learn
1.2.官方下载地址:https://docs.spring.io/spring/docs/4.3.9.RELEASE/spring-framework-reference/
点击html
最后一行 下载地址:https://repo.spring.io/release/org/springframework/spring/
1.3.Github地址
1.4.spring maven https://mvnrepository.com/search?q=spring
导入 spring webMVC
2.maven-pom.xml配置
idea新建一个maven-project,修改pom.xml文件。
<?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>Spring5</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<modules>
<module>spring_01</module>
</modules>
<!--添加spring的包-->
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.2.8.RELEASE</version>
</dependency>
</dependencies>
</project>