官术网_书友最值得收藏!

Executing with the Java command

Please make sure that Java and JAVA_HOME is set to Java 9 before executing the following commands.
Take a look at the following steps:

  1. To build the JAR file, perform the mvn clean package command from the Command Prompt from the parent project root directory (6392_chapter2). Here, clean and package are Maven goals:
mvn clean package
  1. It creates the JAR files in a respective target directory. We'll execute the JAR files generated in the 6392_chapter2\rest\target directory. A JAR file can be executed using the following command:
java -jar rest\target\rest-1.0-SNAPSHOT-exec.jar

Please make sure you execute the JAR file having a postfix exec as shown in the preceding command.

主站蜘蛛池模板: 永定县| 瓦房店市| 明星| 黔江区| 玛沁县| 图们市| 内江市| 鹤峰县| 武威市| 大名县| 拜城县| 新干县| 正蓝旗| 城步| 温宿县| 黄梅县| 姜堰市| 鹿泉市| 扶风县| 璧山县| 泰安市| 澳门| 安岳县| 毕节市| 尖扎县| 海南省| 江源县| 汉源县| 肇东市| 德江县| 安陆市| 长治市| 邓州市| 台安县| 连云港市| 微山县| 光山县| 凯里市| 舒城县| 西丰县| 涟水县|