Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to run multiple Spring Boot applications with a single Running Configuration in IntelliJ IDEA?

I have multiple spring boot applications in a single IntelliJ project. And i want to have a single button to run all of them in some order.

I know there is an option to Run Another configuration before launching the original one, so in that way the configurations can be chained.

But when i use it, it runs that Another Configuration and doesn't run the original one.

So I'm wondering if anyone met this issue and how it was resolved?

like image 698
ikryvorotenko Avatar asked Mar 17 '16 08:03

ikryvorotenko


People also ask

How do I run multiple instances of an app in IntelliJ?

Go to Run > Edit Configurations... then select the application. Click the Modify options drop-down, and turn on Allow multiple instances . Remember to click Apply then OK .


1 Answers

You could create a Compound run type and add all your applications in it. That way you can just run that config and all your apps will start.

like image 91
Stephane Nicoll Avatar answered Oct 02 '22 21:10

Stephane Nicoll