[英]Eclipse with Tomcat7, where my application is running from?
When working with Apache Tomcat I know to look for my .war
file in %CATALINA_HOME%/webapps
. 使用Apache Tomcat时,我知道要在%CATALINA_HOME%/webapps
查找.war
文件。 Running Eclipse MARS with Tomcat plugin - the webapps
directory is empty. 使用Tomcat插件运行Eclipse MARS - webapps
目录为空。
Eclipse is installed at C:/eclipse/
Eclipse安装在C:/eclipse/
Tomcat is installed at C:/tomcat7/
Tomcat安装在C:/tomcat7/
Using Windows 10 and Java 1.8.0_131 使用Windows 10和Java 1.8.0_131
JAVA_HOME=C:/Program Files/java/1.8.0_131/
CATALINA_HOME=C:/tomcat7/
From where Eclipse with its Tomcat plugin is running my web application? Eclipse及其Tomcat插件从何处运行我的Web应用程序?
The default setting of the eclipse tomcat plugin (WTP) would configure a separate server instance which its root folder is specified by CATALINA_BASE
. eclipse tomcat插件(WTP)的默认设置将配置一个单独的服务器实例 ,其根文件夹由CATALINA_BASE
指定。 This server instance will has its own configuration and webapps folder under CATALINA_BASE
. 该服务器实例将在CATALINA_BASE
下具有其自己的配置和webapps文件夹。
The value of the CATALINA_BASE
can be configured from the following UI: 可以从以下用户界面配置CATALINA_BASE
的值:
So , in the above configuration , the war will be deployed to $project_workspace\\.metadata\\.plugins\\org.eclipse.wst.server.core\\tmp3\\wtpwebapps\\
因此,在上述配置中,战争将部署到$project_workspace\\.metadata\\.plugins\\org.eclipse.wst.server.core\\tmp3\\wtpwebapps\\
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.