简体   繁体   English

在Eclipse中使用Tomcat的运行实例

[英]Use running instance of Tomcat in Eclipse

On my pc I have a running instance of tomcat, that I use with axis to export web-services. 在我的电脑上,我有一个正在运行的tomcat实例,该实例与axis一起使用以导出Web服务。 I'd like to use the same instance of tomcat with eclipse to run my servlets. 我想在eclipse中使用相同的tomcat实例来运行我的servlet。 How can I configure this? 我该如何配置?

create a basic web project in eclipse and try to deploy it, then it should ask for the server. 在eclipse中创建一个基本的Web项目并尝试部署它,然后它应该请求服务器。 if your eclipse is already configured with tomcat (even on axis), it should display for you to select as the application server. 如果您的Eclipse已经配置了tomcat(甚至在轴上),它也会显示出来供您选择作为应用程序服务器。

try this tutorial which shows how to make it work. 试试看本教程 ,该教程显示了如何使其工作。 it shows from the scratch (download tomcat and configure with Eclipse) but you can get an idea on the latter configuration. 它从头开始显示(下载tomcat并使用Eclipse进行配置),但是您可以对后者的配置有所了解。

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

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