Eclipse Indigo/3.7中的Maven/Tomcat项目 [英] Maven/Tomcat Projects In Eclipse Indigo/3.7

查看:119
本文介绍了Eclipse Indigo/3.7中的Maven/Tomcat项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用最新的里程碑版本试用Eclipse的下一个版本,但是在将Maven项目部署到Tomcat时遇到了问题.

I'm trying out the next version of Eclipse using the latest milestone build and I'm having an issue getting my Maven project deployed to Tomcat.

以前在Eclipse 3.6中,从SVN签出后,我的项目自动作为Web项目启用.我已经在3.7中签出了我的项目,但没有任何表明它可以作为Web项目运行的内容(例如,尝试运行该项目并没有给我通常的在服务器上运行"选项).

Previously in Eclipse 3.6, my project was automatically enabled as a web project when checked out from SVN. I've checked out my project in 3.7 but get nothing indicating it's runnable as a web project (e.g. trying to run the project doesn't give me the usual "Run on Server" option).

我安装的是Indigo RC4面向Java EE开发人员的Eclipse IDE"版本.然后,我从此处添加了最新的M2E里程碑.这使我能够启动并运行,签出我的项目,并且我似乎能够很好地构建项目(它确实创建了用于远程部署的.war文件).不过,仍然没有在服务器上运行"选项.

What I've installed is Indigo RC4 "Eclipse IDE for Java EE Developers" version. I then added the latest M2E milestone from here. This enabled me to get up and running, check out my project and I seem to be able to build the project fine (which does create my .war file for remote deployment). Still no "Run On Server" options though.

有人对我可能缺少的东西有任何线索吗?我猜这是Maven& WTP集成插件,但我还没有找到合适的插件.

Does anyone have any clues on what I could be missing? I'm guessing it's a Maven & WTP integration plugin but I haven't spotted the right one yet.

推荐答案

在m2e成为Eclipse项目之前,WTP集成随核心模块一起提供.现在,核心模块是eclipse模块,并且WTP集成是单独提供的.可以在中找到m2eclipse-wtp当前的Indigo快照.这里.即使从相应的JIRA中列出了该更新站点,我也无法从中获取任何工件,问题.

Before m2e became an eclipse project the WTP integration shipped with the core module. Now the core module is an eclipse module and the WTP integration is shipped separately. The current Indigo snapshots of m2eclipse-wtp can be found here. I was unable to get any artifacts from this update site however, even though it's listed in the corresponding JIRA issue.

幸运的是,今天m2e-wtp已通过m2e Marketplace提供.只需打开eclipse首选项,转到"Maven"->发现"->打开目录"并安装它. .

Fortunately, today m2e-wtp was made available through the m2e Marketplace. Just open the eclipse preferences, go to 'Maven' -> 'Discovery' -> 'Open Catalog' and install it. .

这篇关于Eclipse Indigo/3.7中的Maven/Tomcat项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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