1
0
mirror of https://gitee.com/coder-xiaomo/java-note synced 2025-01-25 18:50:26 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

2022.01.20 1449

This commit is contained in:
程序员小墨 2022-01-20 14:58:03 +08:00
parent 61d40d75ef
commit 43566cbf1c

View File

@ -446,6 +446,8 @@ pom.xml # Maven依赖
#### 创建Mavenweb项目
<span id="创建Mavenweb项目"></span>
> 有两种方式
>
> 1. 创建项目时选择Maven勾上Create from archtype
@ -577,7 +579,31 @@ src/main/resources/applicationContext.xml
#### 创建SpringMVC Maven web项目
<span id="创建SpringMVC_Maven_web项目"></span>
![image-20220118002605490](张博凯的Java学习笔记.assets/image-20220118002605490.png)
![image-20220120143744218](张博凯的Java学习笔记.assets/image-20220120143744218.png)
##### Mavenweb配置
参照[创建Mavenweb项目](#创建Mavenweb项目)将项目配置为Mavenweb项目
##### 配置Tomcat服务器
> Tomcat官网https://tomcat.apache.org/
>
> 下载https://tomcat.apache.org/download-90.cgi
>
> ![image-20220120144746154](张博凯的Java学习笔记.assets/image-20220120144746154.png)
>
> 目录结构:
>
> ![image-20220120144935976](张博凯的Java学习笔记.assets/image-20220120144935976.png)
@ -3971,6 +3997,8 @@ public class UserService {
> 之前创建的都是Maven普通工程
[创建SpringMVC Maven web项目](#创建SpringMVC_Maven_web项目)
#### Thymeleaf