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

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.
主站蜘蛛池模板: 特克斯县| 蓝田县| 东乌珠穆沁旗| 阿勒泰市| 东乌珠穆沁旗| 偃师市| 凭祥市| 大庆市| 大埔区| 资溪县| 永寿县| 嘉黎县| 大冶市| 来凤县| 海安县| 都昌县| 东城区| 大冶市| 太仆寺旗| 青神县| 炎陵县| 长乐市| 昭苏县| 乌审旗| 新巴尔虎右旗| 盐边县| 鹰潭市| 安仁县| 应用必备| 陈巴尔虎旗| 金门县| 哈尔滨市| 招远市| 湖口县| 高碑店市| 湄潭县| 许昌县| 保亭| 莒南县| 郑州市| 刚察县|