idea和tomcat那点事(一)

一.下载tomcat解压缩到某盘根目录。环境变量可有可无,追求简便,因而省略
idea和tomcat那点事(一)
二.在idea配置tomcat
1.添加配置
idea和tomcat那点事(一)
2.添加新的配置
idea和tomcat那点事(一)
3.有的工具会显示没有tomcat server
idea和tomcat那点事(一)
4.点击more items
idea和tomcat那点事(一)
5.点击tomcat server选择local
idea和tomcat那点事(一)
6.添加自己机器里的tomcat安装路径。可以修改名称,我这个修改为springmvc
idea和tomcat那点事(一)
7.查找路径
idea和tomcat那点事(一)
8.选择部署
idea和tomcat那点事(一)
9.手动添加
idea和tomcat那点事(一)
10.选择组件进行部署,选择部署名,任意选一个就可以,区别就是服务器启动之后,在地址栏多一串字符,‘exploded’
idea和tomcat那点事(一)
11.完成
idea和tomcat那点事(一)