问题
What is the best way to add a WTP nature to my existing project so that I can associate it with my server?
回答1:
If I understand the question:
- Open the project's properties
- Select Project Facets
- Check
Dynamic Web Module
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
.
来源:https://stackoverflow.com/questions/8568112/adding-wtp-nature-to-an-eclipse-project