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

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.

主站蜘蛛池模板: 彰化县| 武城县| 临汾市| 广丰县| 岐山县| 瓦房店市| 商水县| 泸溪县| 韩城市| 高青县| 鹤峰县| 旅游| 慈溪市| 石泉县| 东明县| 娄烦县| 肇源县| 抚宁县| 古蔺县| 青阳县| 聊城市| 安徽省| 白朗县| 乾安县| 华池县| 内丘县| 共和县| 当涂县| 龙川县| 德江县| 年辖:市辖区| SHOW| 柯坪县| 上蔡县| 襄垣县| 山阳县| 托克逊县| 锡林浩特市| 屯门区| 沙田区| 信宜市|