IntelliJ如何在tomcat中自动部署webapp? [英] How does IntelliJ automatically deploy the webapp in tomcat?
问题描述
IntelliJ如何在tomcat中自动部署webapp?
只是想知道在部署和运行webapp之后,tomcat文件夹中没有Web应用程序的痕迹。 (甚至不是servlet类的文件)。
是否创建了这些文件并在执行后直接删除?
提前致谢。
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.
推荐答案
IntelliJ正在部署编译目标目录中存在的爆炸WAR(对于我的项目) ,它是目标
- 它可能是 out
,取决于你是否正在使用Maven或其他一些依赖管理应用程序),在在此Wiki链接中解释的过程中。
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.
因此,工件始终存在于目标
或 out
目录中。如果不存在,那么Tomcat就会适合。
So, the artifact always exists in your target
or out
directory. If it didn't exist, then Tomcat would pitch a fit.
这篇关于IntelliJ如何在tomcat中自动部署webapp?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!