有两个很少更改的WAR文件,它应该在我的机器上运行.
Tomcat路径是/USERS/MyUSER/DOWNLOADS/apache-tomcat-9.0.53,IntelliJ配置中的Tomcat服务器也使用它.
如果我在Webapp目录中部署WAR,在IntelliJ中运行另一个使用Tomcat的Java项目,那么我就无法访问这些WAR.这些战争似乎没有了,但在网络应用路径中确实存在.
在IntelliJ中停止Tomcat服务器后,我再次获得了这些WAR.
为了解决这个问题,我目前的项目配置每次都会构建和部署这些战争,但需要更多的时间.我怎么才能解决这个问题?
Tomcat Server
Running
My project [local]
sec-web-services:war exploded [Republish] (first war file that rarely changes)
documents-web-services:war exploded [Republish] (second war file that rarely changes)
api-web-services:war exploded [Republish]
project-webapp:war exploded [Republish]
IntelliJ中的Tomcat服务器配置
Tomcat Home /Users/myuser/Downloads/apache-tomcat-9.0.53
Tomcat base directory /Users/myuser/Downloads/apache-tomcat-9.0.53