IDEA manages multiple SpringBoot applications through the Services interface

1. Questions

When using the old version of IDEA in the past, if there were multiple SpringBoot-based modules under a project, you would need to click Debug or Run one by one to start them locally. You could not start and stop multiple applications with one click.

2. Solve

The new version of IDEA takes this problem into consideration and adds a Services module interface, which can manage all SpringBoot applications in a unified manner, which is very convenient for visual viewing and batch starting/stopping of applications.

3. Opening method:

Pass Menu -> View -> Tool Windows -> Services, open Servicesthe tab, if it is empty, you can click +图标, click Run Configuration Type, and Spring Bootclick to find it.

4. Remarks:

If there are multiple spring-boot applications in the Project, IDEA will sometimes prompt you to automatically open the Services tab when starting the application to display SpringBoot's multi-project management interface.

Guess you like

Origin blog.csdn.net/y2020520/article/details/132161944