简体   繁体   English

无法在Eclipse Luna中创建动态Web项目

[英]Not able to create Dynamic web project in Eclipse Luna

I have installed Eclipse Luna for windows 64 bit. 我已经为Windows 64位安装了Eclipse Luna。 But I am not able to create a new Dynamic Web Project. 但我无法创建新的动态Web项目。 I also installed Web, XML, Java EE and OSGi Enterprise Development , but still it shows only Static Web Project inside Web projects. 我还安装了Web,XML,Java EE和OSGi企业开发 ,但它仍然只在Web项目中显示静态Web项目。

Is there anything else to be installed ? 还有什么要安装的吗?

you need the Web Tools Platform package for this add it to your eclipse through Help > install new software. 您需要Web Tools Platform包,通过帮助>安装新软件将其添加到您的eclipse中。

Then add the software repository site location for WTP for your version of eclipse. 然后为您的eclipse版本添加WTP的软件存储库站点位置。

http://download.eclipse.org/webtools/updates/

I think the accepted answer is not the recommended solution. 我认为接受的答案不是推荐的解决方案。 In Luna you should install Web Tools Platform via the Luna download site, not the WTC download site. 在Luna中,您应该通过Luna下载站点而不是WTC下载站点安装Web Tools Platform。

Here are the instructions: 以下是说明:
https://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F https://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F

Here is what happens if you use WTP site: 如果您使用WTP站点,会发生以下情况:
Can't install WTP (Web Tools Platform) in Eclipse - something about missing dependencies...? 无法在Eclipse中安装WTP(Web Tools Platform) - 缺少依赖项...

Yes, I see that the asker says he has done this, so I guess the accepted answer worked for him, but I think people should try this recommended method first. 是的,我看到提问者说他​​已经这样做了,所以我想接受的答案对他有用,但我认为人们应该首先尝试这种推荐的方法。

您需要访问http://download.eclipse.org/releases/indigo或luna或您正在使用的任何版本的eclipse,并选择Web,XML,Java EE和OSGi Enterprise Development。

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

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