Search code examples
javaintellij-ideaspring-bootrun-configuration

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?


Solution

  • 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.