Adding WTP nature to an Eclipse project

2019-06-23 18:31发布

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

1条回答
爷、活的狠高调
2楼-- · 2019-06-23 19:12

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.

查看更多
登录 后发表回答