网站做分屏好不好,ucenter wordpress,网络科技公司项目加盟,网站底部备案号目录
一、创建maven项目
二、完善代码结构
三、引入依赖和插件
四、启动tomcat#xff0c;运行项目
#xff08;1#xff09;点击添加配置
#xff08;2#xff09;点击左上角的加号#xff0c;选择maven #xff08;3#xff09;输入运行命令
五、验证 一、创建…目录
一、创建maven项目
二、完善代码结构
三、引入依赖和插件
四、启动tomcat运行项目
1点击添加配置
2点击左上角的加号选择maven 3输入运行命令
五、验证 一、创建maven项目 使用原型创建 二、完善代码结构 三、引入依赖和插件 !--依赖 --
dependenciesdependencygroupIdjunit/groupIdartifactIdjunit/artifactIdversion4.11/versionscopetest/scope/dependency!-- jsp --dependencygroupIdjavax.servlet.jsp/groupIdartifactIdjsp-api/artifactIdversion2.2/versionscopeprovided/scope/dependency!-- servlet --dependencygroupIdjavax.servlet/groupIdartifactIdjavax.servlet-api/artifactIdversion3.0.1/versionscopeprovided/scope/dependency/dependencies !--插件--buildplugins!-- tomcat插件 --plugingroupIdorg.apache.tomcat.maven/groupIdartifactIdtomcat7-maven-plugin/artifactIdversion2.1/versionconfigurationport8080/portpath//pathuriEncodingUTF-8/uriEncodingservertomcat7/server/configuration/plugin/plugins/build 四、启动tomcat运行项目
1点击添加配置 2点击左上角的加号选择maven 3输入运行命令 五、验证
输入网址http://localhost:8080/index.jsp