国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

Command mvn jetty:run

2019-11-14 21:42:45
字體:
來源:轉載
供稿:網友
Command mvn jetty:run

How to use the command mav jetty:run?

There is a simple display as below:

Step 1:

You should generate a web PRoject with maven first.

you could go to "Using Maven to generate a java Project or Web project" to know how to generate a Web project with maven in Windows 7.

Step 2:

Change the pom.xml in as bellow in the web project you have generated just now.

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">  <modelVersion>4.0.0</modelVersion>  <groupId>com.b510.shopping</groupId>  <artifactId>shopping-core</artifactId>  <packaging>war</packaging>  <version>1.0-SNAPSHOT</version>  <name>shopping-core Maven Webapp</name>  <url>http://maven.apache.org</url>  <dependencies>    <dependency>      <groupId>junit</groupId>      <artifactId>junit</artifactId>      <version>3.8.1</version>      <scope>test</scope>    </dependency>  </dependencies>  <build>    <finalName>shopping-core</finalName>    <pluginManagement>    <!--Configuration for Jetty-->      <plugins>        <plugin>         <groupId>org.mortbay.jetty</groupId>            <artifactId>maven-jetty-plugin</artifactId>        </plugin>      </plugins>    </pluginManagement>  </build></project>

Step 3:

Type the command mvn jetty:run

 NOTE: You shoud go to the "F:/maven/shopping-core" directory to execute above command.

Step 4:

 Open a broswer and type "http://localhost:8080/shopping-core"

========================================================

More reading,and english is important.

I'm Hongten

hongten

E | hongtenzone@Foxmail.com B |http://m.survivalescaperooms.com/hongten

========================================================


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 万宁市| 柘荣县| 平度市| 三明市| 东港市| 巴彦淖尔市| 旬邑县| 湛江市| 嵩明县| 崇左市| 永兴县| 宜都市| 四会市| 昆山市| 安国市| 沁阳市| 新民市| 罗城| 麦盖提县| 雷山县| 杭锦后旗| 庄河市| 汪清县| 化州市| 博罗县| 黄龙县| 逊克县| 淮滨县| 花垣县| 赣榆县| 临潭县| 邯郸县| 改则县| 冕宁县| 卫辉市| 扶余县| 东宁县| 原平市| 焉耆| 双辽市| 桐柏县|