Eclipse Kepler 中缺少动态 Web 项目选项
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/23570448/
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
Dynamic Web Project option missing in Eclipse Kepler
提问by alok
The "Dynamic Web Project" option for a new project in Eclipse does not showing up in the list.
Although the "web" folder showing up with option "static web project" but there is no option for "Dynamic Web project".
I have already installed Web, XML, Java EE plugin.
I am using Eclipse Kepler realease-2.
Eclipse 中新项目的“动态 Web 项目”选项未显示在列表中。
虽然“web”文件夹显示有选项“静态 Web 项目”,但没有“动态 Web 项目”选项。
我已经安装了 Web、XML、Java EE 插件。
我正在使用 Eclipse Kepler realease-2。
回答by marc_aragones
I had the same problem and did this:
我遇到了同样的问题,并这样做了:
- Click "Help" > "Install new software"
- In "Work with", paste: http://download.eclipse.org/releases/kepler
- In "Web, XML, Java EE and OSGi Enterprise Development", check:
- Eclipse Java EE Developer Tools
- Eclipse Java Web Developer Tools
- Eclipse Web Developer Tools
- Eclipse XML Editors and Tools
- 点击“帮助”>“安装新软件”
- 在“使用”中,粘贴:http: //download.eclipse.org/releases/kepler
- 在“Web、XML、Java EE 和 OSGi 企业开发”中,勾选:
- Eclipse Java EE 开发人员工具
- Eclipse Java Web 开发人员工具
- Eclipse Web 开发人员工具
- Eclipse XML 编辑器和工具
Finally, click "Next" to install the new software and "Dynamic Web Project" will be available.
最后,单击“下一步”安装新软件,“动态 Web 项目”将可用。
回答by Uday Raj Karki
Step 1:Click on Help and then click on “Install New Software”.
步骤 1:单击“帮助”,然后单击“安装新软件”。
Step 2:In "Work with", paste this link: Mars- http://download.eclipse.org/releases/mars
第 2 步:在“Work with”中,粘贴此链接:Mars- http://download.eclipse.org/releases/mars
Step 3:Scroll down to find “Web, XML, Java EE and OSGI Enterprise Development” option and expand it.
第 3 步:向下滚动以找到“Web、XML、Java EE 和 OSGI 企业开发”选项并展开它。
Step 4:Select the following three options under “Web, XML, Java EE and OSGI Enterprise Development”
第四步:在“Web、XML、Java EE和OSGI Enterprise Development”下选择以下三个选项
- Eclipse Java EE Developer Tools
- Eclipse Java Web Developer Tools
- Eclipse Web Developer Tools
- Eclipse Java EE 开发人员工具
- Eclipse Java Web 开发人员工具
- Eclipse Web 开发人员工具
Step 5:Click next and you should see that the software is installing. Wait for some time and then a popup would ask your permission to restart the Eclipse. Restart it and you should find the dynamic web project option under project list.
步骤5:单击下一步,您应该看到软件正在安装。等待一段时间,然后弹出窗口会询问您是否允许重新启动 Eclipse。重新启动它,您应该在项目列表下找到动态 Web 项目选项。
回答by Kushan
Eclipse Java EE Developer Tools
Eclipse Java Web Developer Tools
Eclipse Web Developer Tools
Eclipse XML Editors and Tools
These need to be installed.
这些都需要安装。
Now if in your new project you don't get Dynamic Web Project, select a new Project. In that you can go to Web-> Dynamic Web Project.
现在,如果在您的新项目中没有获得动态 Web 项目,请选择一个新项目。您可以在其中转到 Web-> 动态 Web 项目。
I don't know when this started, but in Mars.2 I found it here.
我不知道这是什么时候开始的,但是在 Mars.2 中我在这里找到了它。
回答by V Razdan
Downloaded the 4 files in Eclipse Kepler 4.3, and options for both Dynamic and Static Web project are now available. Can also create HTML5, JS, CSS files for a Hybrid Android application.
在 Eclipse Kepler 4.3 中下载了 4 个文件,现在可以使用动态和静态 Web 项目的选项。还可以为混合 Android 应用程序创建 HTML5、JS、CSS 文件。
回答by Shivanand B Padiyar
We can locate the Create Dynamic Web Project in Eclipse at top Menu bar button, hover mouse pointer over each one of them to find out
我们可以在 Eclipse 的顶部菜单栏按钮找到 Create Dynamic Web Project,将鼠标指针悬停在每个项目上以找出
回答by Nagarani Dubbaka
Switch from java to java EE tab at top right of eclipse editor and then look New->Dynamic Web Project
从 Eclipse 编辑器右上角的 java 切换到 java EE 选项卡,然后查看 New->Dynamic Web Project
回答by Aulia
actually, you just need to check the check box for generating the web xml, see here Eclipse Kepler not generating web.xml automatically
实际上,您只需要选中用于生成 web xml 的复选框,请参阅此处 Eclipse Kepler 不会自动生成 web.xml
回答by nitind
Which "Java EE" plug-in do you mean? That wizard requires that the Java EE Developer Tools
feature be installed, and you be running with at least Java 6.
您指的是哪个“Java EE”插件?该向导要求Java EE Developer Tools
安装该功能,并且您至少运行 Java 6。
回答by Dharmraj
install plugin in eclipse for web application. Then dynamic web application option will come. Find plugin link from here https://developers.google.com/eclipse/docs/getting_started#creatingAnd go to help->Install new software-> paste link in work with and click on add select all available plugin.
在 Eclipse 中为 Web 应用程序安装插件。然后动态 Web 应用程序选项将出现。从这里找到插件链接 https://developers.google.com/eclipse/docs/getting_started#creating然后去帮助->安装新软件->粘贴链接并点击添加选择所有可用的插件。
It could hep you.
它可以帮助你。