修改pom.xml文件修改打包方式<!--<packaging>jar</packaging>--><packaging>war</packaging>修改打包类型为war类型修改相关依赖<dependency><grou