无法在eclipse中将项目添加到tomcat服务器 [英] Cannot add a project to a tomcat server in eclipse

查看:945
本文介绍了无法在eclipse中将项目添加到tomcat服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不能将项目添加到eclipse中的服务器上 - 为什么?$ /

我安装了所有必要的工具(Web Dev,Java EE,服务器适配器,Tomcat本身,所有)



我配置了运行时环境,将所有Java版本调整为JDK 6(因为它应该在Tomcat 6上运行),但仍然在对话框的左侧,



我还可以尝试什么?



PS:使用Juno on W7 Prof。

解决方案

您没有将您的项目创建为动态Web项目,因此Eclipse无法识别它像web项目。创建新的动态Web项目或转到属性 - > 项目构面,然后选中动态Web模块

I cannot add my project to a server in eclipse - why is that?

I installed all necessary tools (Web Dev, Java EE, Server Adapters, Tomcat itself, everything)

I configured the runtime environments, adjusted all Java Versions to JDK 6 (because it should run on Tomcat 6) but still the left side of the dialogue where I could add recources is empty when creating a new server.

What else could I try?

PS: Using Juno on W7 Prof.

解决方案

You didn't create your project as "Dynamic Web Project", so Eclipse doesn't recognize it like web project. Create new "Dynamic Web Project" or go to Properties -> Projects Facets and check Dynamic Web Module

这篇关于无法在eclipse中将项目添加到tomcat服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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