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

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.
主站蜘蛛池模板: 襄垣县| 恩施市| 景泰县| 辽源市| 渝中区| 五峰| 尤溪县| 彩票| 古蔺县| 安化县| 肥城市| 罗田县| 呼伦贝尔市| 济南市| 蓝田县| 盐亭县| 汕头市| 布拖县| 冕宁县| 和平区| 调兵山市| 海口市| 乌苏市| 信阳市| 本溪市| 安乡县| 策勒县| 佛冈县| 黄石市| 正定县| 巧家县| 远安县| 邹平县| 六安市| 桐庐县| 民和| 西贡区| 通海县| 潞城市| 阜新市| 商河县|