Eclipse does not have (add) a method for the Dynamic Web Project option __java

Source: Internet
Author: User
Tags java web

Reprint Source: Eclipse does not have (add) the method of "Dynamic Web Project" option

The first approach: you are installing a Java project, and dynamic Web project is an EE technology, so you have to specifically download an eclipse that integrates the EE plugin, (ECLIPSE-JEE-HELIOS-SR2-WIN32), Download the corresponding version of the IDE to the Eclipse website download: http://www.eclipse.org/downloads/selection: Eclipse IDE for Java EE developers

The second way: Install the Java EE Development plug-in for the current eclipse. As follows: 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" Help-> Install New Software

The Setup Wizard is open. In the Installation Wizard window, click on "Work
With Drop-down, selected according to your Eclipse version name

"Http://download.eclipse.org/releases/kepler" (If you are eclipse
Kepler version) OR "Http://download.eclipse.org/releases/juno" (if you are the Eclipse Juno version)

OR "Http://download.eclipse.org/releases/indigo" (if you are a Eclipseindigo version)

OR "Http://download.eclipse.org/releases/helios" (if you are the Eclipse Helios version) Note:if you did not | above site in the DRO Pdown, you can add it using the Add button.

Eclipse will search all the software on this site and display it to the list below (it is recommended that you use proxies, otherwise it may take a long time to display and download plug-ins, and for how to set up Eclipse agents, Google yourself).
Expand the Web, XML, Java ee and OSGi Enterprise Development option, and tick the following four options: Eclipse java EE Developer Tools eclipse java Web D Eveloper tools Eclipse Web Developer tools Eclipse XML Editors and tools then click "Next".
Click "Next" in turn to know that you see the "Review Licences" window. In this window select "I accept the terms of the licence agreement" and click "Finish".
Eclipse will begin installing the new software.
After installing the plugin, eclipse will ask you to reboot Eclipse and select Yes.
After you restart Eclipse, open the new project's panel to see the Web folders and the Dynamic
Web Project option.

In the eclipse configuration tomcat, I found that in eclipse-preferences-server-runtime environment, click on the "Add" button, which does not see Tomcat, only a "Java EE Runtime   Library. " Workaround: Help-> Install New Software Choose "Luna–http://download.eclipse.org/releases/luna" site Expand "Web, XML, and Java EE Development Check JST Server Adapters (version 3.2.2) and JST server adapters extentions

Once installed, you can see the Tomcat option in the Add button on the Server Runtime environments.

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 Extent Ions to get the Server Runtime environment options. Source:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.