1. Open the service option of idea
Click on the upper left corner - "View -" Tool Window - "Services
2. Configure a springboot project, provided that you have a springboot project
1. Click Service——"Add Service——"Run Configuration Type
2. Select the springboot project
3. In this way, a springboot service is obtained
3. Copy the same project (only change the name and port)
1. Right-click the service and select Copy Configuration
2. Configure the name and port number
3. Got a project with the same service but different ports
4. Appearance after startup