How can I add my application to Tomcat in Eclipse?

前端 未结 11 1498
迷失自我
迷失自我 2020-12-24 00:32

I have a web app built with Maven. Most of the time, I built the application using Intellij IDEA, but now I want to import the application in Eclipse to see something in th

11条回答
  •  心在旅途
    2020-12-24 01:34

    You need the project to have a Eclipse Dynamic Web Module facet. You can try doing this via the project properties dialog and looking at project facets, then clicking the appropriate check box. This may not be available however, so you may need to do the next thing.

    Create a backup of your project and follow the directions at dzone.com. This'll allow you to modify the project facets via your eclipse .project file.

    Keep in mind, once you add those facets, you cannot change them back via Eclipse. Definitely make sure you have a backup before starting.

提交回复
热议问题