高版本的idea中在创建项目时没有Web Application,需要在创建完项目后,右键项目-Add Framwork Support-Java EE- Web Application 勾选后就有web部署目录了