Deploy Maven project in Tomcat8 from Eclipse IDE
<pre><code>&lt;groupId&gt;org.apache.tomcat.maven&lt;/groupId&gt;
   &lt;artifactId&gt;tomcat7-maven-plugin&lt;/artifactId&gt;
            &lt;version&gt;2.2&lt;/version&gt;
            &lt;configuration&gt;
                &lt;url&gt;http://localhost:8099/manager/html&lt;/url&gt;
                &lt;username&gt;tomcat&lt;/username&gt;
                &lt;password&gt;admin&lt;/password&gt;
                &lt;path&gt;/example&lt;/path&gt;
            &lt;/configuration&gt;
</code></pre>

<p>Cannot invoke Tomcat manager: </p>

<blockquote>
<pre><code> Connection refused: connect -&gt; [Help 1]
</code></pre>
</blockquote>

<p>Why this error? I am using Apache Tomcat 8.</p>