简体   繁体   English

如何在Eclipse中添加apache-tomcat-7.0.53或apache-tomcat-8.0.5服务器运行时环境?

[英]How to add apache-tomcat-7.0.53 or apache-tomcat-8.0.5 server runtime environment in eclipse?

I am using eclipse Kepler 4.3.2, when creating a web fragment project, I want to add server runtime environment,but found only support Apache-tomcat v3.2 to v7.0, I only have apache-tomcat-7.0.53 or apache-tomcat-8.0.5 in my local PC.When clicking 'Downloading additional server adapters',no new version of tomcat listed. 我正在使用eclipse Kepler 4.3.2,在创建Web片段项目时,我想添加服务器运行时环境,但是发现仅支持Apache-tomcat v3.2到v7.0,我只有apache-tomcat-7.0.53或我的本地PC上的apache-tomcat-8.0.5。单击“下载其他服务器适配器”时,没有列出新版本的tomcat。 Please see below screenshot. 请看下面的截图。 在此处输入图片说明

Please help,thanks. 请帮助,谢谢。

Once you create server,In server view you can able to see the Tomcat server select the Tomcat server either press f3 or right click and open select open option once you did a panel is opened there you find "open launch configuration " click on that. 一旦创建了服务器,就可以在服务器视图中看到Tomcat服务器,选择Tomcat服务器,按f3或右键单击,然后在打开面板后打开选择打开选项 ,然后在其中找到“打开启动配置” another panel is opened there you go for arguments tab and set your runttime vale under VM arguments with -DvariableName=value 将打开另一个面板,您可以进入“ 参数”选项卡,并使用-DvariableName = value在VM参数下设置运行时值

Apache Tomcat 7.0.53 falls into the v7.0 category. Apache Tomcat 7.0.53属于v7.0类别。

  1. Select Apache Tomcat v7.0 from the list, making sure Create a new local server is checked, and hit Next 从列表中选择Apache Tomcat v7.0,确保已选中Create a new local server ,然后单击Next
  2. Fill in the location on your local machine for Tomcat 7.0.53 and hit Finish 填写本地计算机上针对Tomcat 7.0.53的位置,然后单击“ Finish

Apache Tomcat 8.0 support will be included in Luna. Luna将包含对Apache Tomcat 8.0的支持。 Tomcat 8.0 wasn't final before Kepler shipped--even now it's still in Beta. 在开普勒发布之前,Tomcat 8.0并不是最终版本,即使现在仍处于Beta版中。 You can try a Luna build at https://www.eclipse.org/downloads/index-developer.php . 您可以在https://www.eclipse.org/downloads/index-developer.php上尝试构建Luna。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM