我无法在 Eclipse 中创建动态 Web 应用程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/580698/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
I cannot create dynamic web application in eclipse
提问by DonX
I cannot create new dynamic web application in eclipse.If i click new project from file menu it is not displaying "dynamic web application" option.It is not showing the option "web".I am running eclipse 3.4.0.
我无法在 eclipse 中创建新的动态 Web 应用程序。如果我从文件菜单中单击新项目,它不会显示“动态 Web 应用程序”选项。它没有显示选项“web”。我正在运行 eclipse 3.4.0。
Can anyone give help on this?
任何人都可以提供帮助吗?
回答by VonC
To see this kind of "new Project" feature:
要查看这种“新项目”功能:
(source: viralpatel.net)
(来源:viruspatel.net)
, could you check:
,你能检查一下:
- if you have WTP installedwith your eclipse configuration ?
- in what perspective you currently are ? (try 'Java' or better yet 'J2EE' as mentioned in this "Build Web applications with Eclipse, WTP, and Derby"IBM article)
- 如果您的 Eclipse 配置安装了WTP?
- 你目前处于什么角度?(尝试“Java”或更好的“J2EE”,如这篇“使用 Eclipse、WTP 和 Derby 构建 Web 应用程序”IBM 文章中所述)
回答by Vivek Bansal
You need the Java EE Devleoper Toolsto create Dynamic Web Projects
您需要Java EE Devleoper 工具来创建动态 Web 项目
- Go to Help->Install New Software.
- In the dropdown, select 'Juno - http://download.eclipse.org/releases/juno'
- Expand 'Web, XML, Java EE, and OSGI Enterprise Development'
- Check the box for 'Eclipse Java EE Developer Tools'
- 转到帮助-> 安装新软件。
- 在下拉列表中,选择“Juno - http://download.eclipse.org/releases/juno”
- 展开“Web、XML、Java EE 和 OSGI 企业开发”
- 选中“Eclipse Java EE Developer Tools”框
Once installed, you can create a New -> Other -> Dynamic Web Project
安装后,您可以创建一个 New -> Other -> Dynamic Web Project