How can I add my application to Tomcat in Eclipse?

前端 未结 11 1496
迷失自我
迷失自我 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:36

    Maybe you don't need add your application to the server's configuration. I think that you must use m2e eclipse plugin in order to launch the app.

    For example, in your eclipse you will see a contextual menu called "Run as" if you right-click on your pom file. You can clicking on "Maven build" and Maven will download all the information needed to start tomcat.

    I hope this helps you.

提交回复
热议问题