- Mastering Microservices with Java 9(Second Edition)
- Sourabh Sharma
- 150字
- 2021-07-02 21:54:46
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:
- Right-click on the pom.xml file.
- 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.
- Next time, you could directly click Run Maven | Goals | spring-boot-run to execute the project:

Run Maven dialog
- Click OK to execute the project.
推薦閱讀
- Cocos2d Cross-Platform Game Development Cookbook(Second Edition)
- Learning Neo4j
- Visual Basic .NET程序設計(第3版)
- Visual C++程序設計學習筆記
- Practical Internet of Things Security
- Python 深度學習
- Dependency Injection in .NET Core 2.0
- Unity Virtual Reality Projects
- Oracle數據庫從入門到運維實戰
- 基于Swift語言的iOS App 商業實戰教程
- C#開發案例精粹
- Python從入門到精通
- 零基礎C語言學習筆記
- Enterprise Application Architecture with .NET Core
- Eclipse開發(學習筆記)