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

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.

主站蜘蛛池模板: 贵州省| 清新县| 昭通市| 惠水县| 梅河口市| 定安县| 秦安县| 镇宁| 涞水县| 河南省| 南部县| 石屏县| 壶关县| 湖北省| 吴川市| 白朗县| 松滋市| 临夏市| 北辰区| 讷河市| 宾阳县| 炎陵县| 吉安县| 金湖县| 司法| 皮山县| 乐山市| 成武县| 绍兴县| 营口市| 大埔区| 阜阳市| 贵南县| 武宁县| 丰宁| 佛山市| 连云港市| 宝坻区| 南昌县| 喀喇| 中牟县|