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

Running the Maven build from IDE

All popular IDEs, such as Eclipse, Netbeans, and IntelliJ IDEA, support Java 11 and Spring. You can use any of the preferred IDEs having Java 11 support.

Here, we use the Maven executable to package the generated JAR file. The steps for this are as follows:

  1. Right-click on the pom.xml file for Eclipse/NetBeans IDE. For IntelliJ, use the Run menu.
  2. For NetBeans, 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. For Eclipse/IntelliJ IDEA, use the respective fields.

 

  1. Next time, you could directly click Run | Maven | Goals | spring-boot-run to execute the project or on the basis of a similar option in the respective IDE:
Run Maven dialog
  1. Click OK to execute the project.
主站蜘蛛池模板: 松潘县| 孝感市| 叶城县| 德州市| 汽车| 隆回县| 临城县| 延津县| 沧州市| 清镇市| 普洱| 平昌县| 同心县| 东丰县| 博客| 龙游县| 社旗县| 鹤庆县| 潜山县| 垣曲县| 响水县| 英德市| 泸定县| 高雄县| 内丘县| 舞阳县| 内黄县| 衡阳市| 犍为县| 贵州省| 巴中市| 松阳县| 沙河市| 芷江| 扶绥县| 中江县| 四川省| 永丰县| 章丘市| 新建县| 合山市|