很难从Eclipse将文件发布到Tomcat [英] Having hard time to publish files to Tomcat from Eclipse

查看:149
本文介绍了很难从Eclipse将文件发布到Tomcat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我的问题看起来很笨,对不起本周我开始使用Eclipse Ganymede 3.4,很难将我的项目发布到网络应用服务器。



首先你需要知道这个问题: >
i安装了我用于PHP和J2SE项目的Netbeans的Tomcat 6.0.18。虽然我可以从Netbeans或Eclipse启动该服务器,但由于某些原因我无法手动启动,即使我设置了JAVA_HOME正确指向jdk / bin这是一个jre。这有点奇怪,但我可以使用IDE来实现。我在网上做了一些研究,发现eclipse没有发布到tomcat。



事实上,我总是通过在其他驱动器上的本地拷贝来开发,而不是C XP已安装并发布到安装在C上的服务器。



所以我需要找到一种在C下发布到Tomcat的方法。

它有这样做的简单方法吗?



请分享您的经验。



感谢阅读



Ps:我知道我可以使用Netbeans,但我喜欢使用Eclipse并使用它的wysiwyg
谢谢!

解决方案

WTP(Web Tools Platform)应该让你满足你所需要的。它是一组Eclipse插件,其中包括一个启动/停止/调试Tomcat并发布到本地Tomcat安装的插件。



http://www.eclipse.org/webtools/



您可以下载已经包含WTP的Eclipse版本: Eclipse IDE for Java EE Developers


Sorry if my question seems dumb. I've started using Eclipse Ganymede 3.4 this week and having hard time publishing my projects to the web app server.

First of all you need to know this issue:
i installed my Tomcat 6.0.18 from Netbeans that i use for PHP and J2SE project. While i can start that server from either Netbeans or Eclipse, it can not start manually for some reason even though i setup my JAVA_HOME correctly pointing to jdk/bin it's saying it's a jre. it a bit weird but i can use the IDE to get going. i did some research on the net and find out that eclipse doesn't publish to tomcat.

In fact i always develop by having a local copy on other drive than C where XP is installed and publish to a server installed on C.

So where i need to find a way to publish to Tomcat under C.
It there any simple way to do that?

Please share your experience.

Thanks for reading

Ps : i know that i can use Netbeans but i'ld like to use Eclipse and use its wysiwyg thanks!

解决方案

WTP (Web Tools Platform) should get you what you need. It's a set of Eclipse plugins which includes a one to start/stop/debug Tomcat and publish to a local Tomcat installation.

http://www.eclipse.org/webtools/

You can download a version of Eclipse that already includes WTP: Eclipse IDE for Java EE Developers.

这篇关于很难从Eclipse将文件发布到Tomcat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆