Search code examples
eclipseeclipse-wtp

Adding WTP nature to an Eclipse project


What is the best way to add a WTP nature to my existing project so that I can associate it with my server?


Solution

  • If I understand the question:

    • Open the project's properties
    • Select Project Facets
    • Check Dynamic Web Module

    enter image description here

    The Project Facets view may contain a message like this:

    This project is not configured to use project facets. Converting this project to faceted form will allow you to easily control the available technologies.

    Convert to faceted form...

    In this case, just click Convert to faceted form... and then you'll be able to check Dynamic Web Module.