Bon
Bon

Reputation: 3103

How to run maven webapp from eclipse with embedded tomcat?

I can run a normal dynamic web app from eclipse with embedded tomcat. I found it very convenient for testing and debugging. However, I cannot run a maven webapp from my eclipse with embedded tomcat. I have set the run configurations for the project properly. And after I click run on the "Run Configurations" window, the tomcat server is started successfully. However, my maven web app does not start (the homepage of the app is not displayed on the web browser). Can anyone help me on this? Thanks in advance!

Upvotes: 2

Views: 2875

Answers (1)

Torsten
Torsten

Reputation: 6204

The M2E Maven Eclipse plugin provides an integration with the Eclipse WTP Project called M2E-WTP which provides the functionality you are looking for.

Upvotes: 1

Related Questions