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

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.
主站蜘蛛池模板: 文登市| 常德市| 邹城市| 临城县| 屯昌县| 海门市| 广灵县| 家居| 水富县| 阜新| 龙南县| 昌江| 宁德市| 朝阳县| 高要市| 吉隆县| 新巴尔虎右旗| 东乡| 金堂县| 连州市| 南开区| 新沂市| 玉林市| 辽中县| 缙云县| 福安市| 日照市| 高陵县| 泸溪县| 东港市| 修武县| 芦溪县| 漳平市| 吴桥县| 绍兴市| 丰都县| 张掖市| 万年县| 义乌市| 竹溪县| 华亭县|