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

ikryvorotenko picture ikryvorotenko · Mar 17, 2016 · Viewed 19.9k times · Source

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?

Answer

Stephane Nicoll picture Stephane Nicoll · Mar 17, 2016

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.