北京网站建设+++招聘信息,北京海淀建设银行数据中心,专业的seo搜索引擎优化培训,wordpress网盘插件首先new - project - 找到Maven 然后按下图操作#xff1a;先勾选使用骨架#xff0c;再找到Maven-archetype-webapp#xff0c;选中#xff0c;然后next填写自己想要创建的项目名#xff0c;然后选择自己的工作空间①、选择自己下载的Maven插件②、选择选择Maven里的sett…首先new - project - 找到Maven 然后按下图操作先勾选使用骨架再找到Maven-archetype-webapp选中然后next填写自己想要创建的项目名然后选择自己的工作空间①、选择自己下载的Maven插件②、选择选择Maven里的settings.xml③、选择Maven里的response文件夹完成之后点击finish然后选中pom.xml把1.7改为1.8然后把这个web.xml自动生成的内容更改为与自己版本相符合的如下?xml version1.0 encodingUTF-8?
web-app xmlnshttp://xmlns.jcp.org/xml/ns/javaeexmlns:xsihttp://www.w3.org/2001/XMLSchema-instancexsi:schemaLocationhttp://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsdversion4.0display-nameMaven2/display-namewelcome-file-listwelcome-fileindex.html/welcome-filewelcome-fileindex.htm/welcome-filewelcome-fileindex.jsp/welcome-filewelcome-filedefault.html/welcome-filewelcome-filedefault.htm/welcome-filewelcome-filedefault.jsp/welcome-file/welcome-file-list
/web-app然后如下图按顺序操作上图②为自己下载的Maven插件③就是对应maven的setting和repository结束后配置tomcat/Maven3_war只需要保留一个/即可。以上的所有内容完成之后再运行一边出现Hello World!即配置完成。