第一种方法:

你安装的是专门开发java项目的,而Dynamic Web Project  属于J2EE技术,所以你要专门下载一个集成了J2EE插件的Eclipse,(eclipse-jee-helios-SR2-win32),到eclipse官网下载相对应版本的IDE,
官网下载:http://www.eclipse.org/downloads/
选择:Eclipse IDE for Java EE Developers
 
 
 
 
第二种方法:
为当前的eclipse安装Java EE开发插件。如下:
 
 
For this tutorial I am using Eclipse Kepler(4.3) since it is the latest
version right now but the steps work same for Eclipse Juno(4.2),
Indigo(3.7), Helios(3.6). If you have a version older than Helios then I
would recommend that you upgrade to Kepler since versions older than
Helios are not supported. Here are the steps to download and setup Eclipse.
 
 
Start Eclipse and open the New Project Wizard. Currently it would not contain the Web folder and the Dynamic Web Project option.
 
 
 
 
Click Cancel. In the top Menu bar click on Help -> Install New Software
 
 
 
安装向导被打开。在安装向导的窗口, 点击"Work
With"下拉,根据你的eclipse版本名选择
"http://download.eclipse.org/releases/kepler"(如果你是 Eclipse
Kepler版本)
OR "http://download.eclipse.org/releases/juno"(如果你是 Eclipse Juno版本)

OR "http://download.eclipse.org/releases/indigo"(如果你是 EclipseIndigo版本)

OR "http://download.eclipse.org/releases/helios"(如果你是 Eclipse Helios版本)

 
 
Note: If you do not see above site in the dropdown, you can add it using the add button.
 
 
 
 

eclipse会搜寻这个网址的所有软件,并且显示到下面的列表(建议使用代理,否则可能要花很长时间显示和下载插件,至于如何设置eclipse代理,请自行google)。

 
 
 
 
 
展开 "Web, XML, Java EE and OSGi Enterprise Development" 选项,并且将下面四个选项打上勾:
  • Eclipse Java EE Developer Tools
  • Eclipse Java Web Developer Tools
  • Eclipse Web Developer Tools
  • Eclipse XML Editors and Tools
 
然后点击”Next“。
 
 
依次点击“Next ”知道你看到 “ Review licences”的窗口。在这个窗口选择 "I accept the terms of the licence agreement" 并且点击“Finish”。
 
 
eclipse会开始安装新的软件.
 
 
 
 
安装完插件之后, Eclipse会要求你重启eclipse,选择“yes”。
 
 
 
重启eclipse之后, 打开新建项目的面板,就可以看到 Web文件夹 和 “Dynamic
Web Project” 选项了。
 
 
 
 
 

 
 

在eclipse配置tomcat的时候,我发现在Eclipse---Preferences---server---Runtime Environment中,点击“Add”按钮,里面看不到tomcat的,只有个“J2EE Runtime Library”。

 
 
解决办法:
  1. Help -> Install New Software
  2. Choose "Luna - http://download.eclipse.org/releases/Luna" site
  3. Expand "Web, XML, and Java EE Development"
  4. Check JST Server Adapters (version 3.2.2) and  JST Server Adapters Extentions

安装完后,就能在 Server Runtime Environments的Add按钮中看到tomcat的选项了。

EDIT: With Eclipse 3.7 Indigo Classic, Eclipse Kepler and Luna, the
steps are the same (with appropriate update site) but you need both JST Server Adapters and JST Server Adapters Extentions to get the Server Runtime Environment options.

eclipse没有(添加)"Dynamic Web Project"选项的方法【转载】的更多相关文章

  1. eclipse没有(添加)"Dynamic Web Project"选项的方法

    建议使用代理lantern,否则可能要花很长时间显示和下载插件 http://www.dabu.info/eclipse-no-add-dynamic-web-project-option.html ...

  2. eclipse没有(添加)”Dynamic Web Project”选项的方法

    https://www.cnblogs.com/longronglang/p/7156383.html(copy) help->install new software web - http:/ ...

  3. [杂谈]杂谈章2 eclipse没有(添加)“Dynamic Web Project”

    原因:你安装的是专门开发java项目的,而Dynamic Web Project  属于J2EE技术 第一种方法: 你要专门下载一个集成了J2EE插件的Eclipse,到eclipse官网下载相对应版 ...

  4. 在Eclipse中创建Dynamic Web Project具有和MyEclipse中Web Project一样的目录结构

    1.在Eclipse中新建Dynamic Web Project 1.1.修改default output folder build\classes修改为:WebRoot\WEB-INF\classe ...

  5. Mac 下 Eclipse 添加 Dynamic Web Project 并配置 Tomcat

    最近拿到了一个 Dynamic Web Project,我的 Mac 上的 Eclipse 之前没有过这类型的项目,所以导入之后无法正常运行.下面是我记录的如何配置 Eclipse 使之能够运行 Dy ...

  6. Eclipse kepler 安装 Dynamic Web Project差距WTP

    原文地址:http://blog.csdn.net/westrain2010/article/details/25122999, 欢迎转载 Eclipse 标准版是不能创建 Dynamic Web P ...

  7. 在eclipse中新建Dynamic web project时选择2.5和3.0的区别(里面涉及servlet和tomcat的问题)

    1.是指servlet的版本,是2.5的还是3.0的 servlet3.0以后支持异步 2.dynamic web module和对应的TOMCAT 版本 http://blog.sina.com.c ...

  8. java中dynamic web project与web project 的区别 [转]

    原帖地址:http://blog.sina.com.cn/s/blog_46726d2401013jlk.html 文章框架: 1.Dynamic  Web Project 概念 2.eclipse ...

  9. Dynamic Web Project 的学习笔记

    文章框架: 1.Dynamic  Web Project 概念 2.eclipse 中的动态Web 项目与 Myeclipse 中的web项目有何区别 3.动态的运行原理及目录结构---是否都涉及到由 ...

随机推荐

  1. hdu 5874 Friends and Enemies icpc大连站网络赛 1007 数学

    #include<stdio.h> #include<iostream> #include<algorithm> #include<math.h> #i ...

  2. Arch最小化安装X

    Xorg xorg-server 安装xorg-server pacman -S xorg-server 可选:xorg-server-utils pacman -S xorg-server-util ...

  3. java 单元测试

    ---恢复内容开始--- 1/引入包:junit-4.11.jar|hamcrest-core-1.3(alilib里有) 2/与src同级建立一个文件夹,名为test,右击,Mark Directo ...

  4. css格式布局

    一.position:fixed 锁定位置(相对于浏览器的位置),例如有些网站的右下角的弹出窗口. 示例 : 二.position:absolute 1.外层没有position:absolute(或 ...

  5. NSData与UIImage互相转换

    1.//NSData转换为UIImage NSData *imageData = [NSData dataWithContentsOfFile: imagePath]; UIImage *image ...

  6. hibernate的批量更新、批量删除

    hibernate的批处理API:session.createQuery(hql).executeUpdate(),如果有参数则在执行之前设置参数. 批量更新示例: @Test public void ...

  7. 搭建Mantis 缺陷管理系统

    什么是Mantis MantisBT is a free popular web-based bugtracking system (feature list). It is written in t ...

  8. JavaScript在智能手机上的应用-测试是否支持滑动事件

    ---------------------------- <script type="text/javascript">                        ...

  9. hdu_5680_zxa and set(想法题)

    题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=5680 题意: 问题描述 zxa有一个集合A=\{a_1,a_2,\cdots,a_n\}A={a​1​ ...

  10. openwrt 中make的使用

    make 命令简单说明 make V=99 V=99表示输出详细的debug信息 make world 表示编译所有 make j=2 V=99 如是多核CPU,加j=2 选项理论上能加快编译速度 m ...