I followed the simple steps, for achieving this. Integrated Tomcat and Maven with eclipse. 1. Open eclipse. New->other -> maven project -> webapp 2. Added plugins for tomcat. 3. Right click the POM file and run as maven clean 4. run as maven generate sources 5. run as maven build. 6. passed the command tomcat:run But getting the following error,
[ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:run (default-cli) on project simplehelloworld: Could not start Tomcat: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind <null>:8080 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException