Rollerball
Rollerball

Reputation: 13108

How does IntelliJ automatically deploy the webapp in tomcat?

How does IntelliJ automatically deploy the webapp in tomcat? Just wondering as after the webapp has been deployed and run, there are no traces of the web app in the tomcat folder. (Not even the servlet classes' files). Does it create those file and delete straight after execution? Thanks in advance.

Upvotes: 1

Views: 1200

Answers (1)

Makoto
Makoto

Reputation: 106440

IntelliJ is deploying the exploded WAR which exists in your compilation target directory (for my project, it's target - it could be out for yours, depends on if you're using Maven or some other dependency management application), in the process explained at this Wiki link.

So, the artifact always exists in your target or out directory. If it didn't exist, then Tomcat would pitch a fit.

Upvotes: 1

Related Questions