Skip to content
Advertisement

Maven build: Tomcat server doesn’t start

I am new to Maven and trying to setup a web project using Maven. I have setup the project in Eclipse and I am using Tomcat 7.0.53. In run configuration for Maven build and I have set tomcat:run in Goals.
When I run this configuration, following log is seen in the Eclipse console:

JavaScript

Nothing happens after this. There is no info of server startup and hence the project can’t run at all. Is any step is being missed here? Or this IS the correct behaviour?

Advertisement

Answer

For Tomcat 7 use mvn tomcat7:run Ref: Maven Tomcat 7

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement