1
votes

I have two applications with two separate WAR artifacts. One is a WAR exploded directory for my front-end Angular app, and one is a WAR archive file for my back-end Spring REST api. I'm currently using IntelliJ IDEA to deploy my front-end to a local Tomcat server and was wondering how, if at all possible, I could configure IntelliJ to run my two artifacts on Tomcat simultaneously. I know I can do this by putting both under Tomcat webapps directory manually, but I was wondering if it was configurable in IntelliJ, and if so, how?

1

1 Answers

3
votes

Yes, you should be able to do that.

If you are using Ultimate, you can create a "Local Tomcat" run configuration in Project1, and go to the "Deployment" tab and drop in the WAR file for your Project1. Then drop in the WAR file from your other project (call it Project2) as an External Source. You would then have both WARs in one run configuration.

This is the answer I found out under this link.