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

Running the Maven tool

This method may not work because Java 9, Spring Boot 2, and Spring Framework 5 are all in either in early or snapshot release. In case it does not work, please use a project using Java commands.

Here, we use the Maven tool to execute the generated JAR file, the steps for this are as follows:

  1. Right-click on the pom.xml file.
  2. Select Run Maven | Goals... from the pop-up menu. It will open the dialog. Type spring-boot:run in the Goals field. We have used the released version of Spring Boot in the code. However, if you are using the snapshot release, you can check the Update Snapshots checkbox. To use it in the future, type spring-boot-run in the Remember as field.
  3. Next time, you could directly click Run Maven | Goals | spring-boot-run to execute the project:

Run Maven dialog

  1. Click OK to execute the project.
主站蜘蛛池模板: 巴中市| 凭祥市| 和静县| 浑源县| 涪陵区| 东乌珠穆沁旗| 无极县| 鄢陵县| 深州市| 余江县| 城口县| 银川市| 衡东县| 榆中县| 崇明县| 新蔡县| 河源市| 岗巴县| 收藏| 五常市| 桐庐县| 乐业县| 安多县| 宁蒗| 宜兴市| 商都县| 盘锦市| 凌源市| 太保市| 哈巴河县| 定远县| 阿巴嘎旗| 车致| 张家界市| 内乡县| 突泉县| 重庆市| 溧水县| 裕民县| 建德市| 武义县|