4

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

Joe
  • 7,922
  • 18
  • 54
  • 83

1 Answers1

5

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.

Community
  • 1
  • 1
Matt Ball
  • 354,903
  • 100
  • 647
  • 710
  • Great answer. Okay. I have it as a dynamic Web Project, but it is still not allowing me to associate with a server. Any more thoughts? – Joe Dec 20 '11 at 00:22
  • 1
    @Joe On above screenshot click on `Runtime` under `Save As...` – Ali Shakiba Dec 20 '11 at 17:13
  • One more issue! I went to Runtime and everything is grayed out! The only Facets that I have checked are Java and Dynamic Web Module. – Joe Dec 20 '11 at 18:15