title: Starting tomcat server at localhost has encountered a p‌r‌o‌b‌l‌e‌m
body: <p>Basically I have followed all the instructions to run Java EE programs. I have downloaded and installed <em>tomcat apache</em> server and configured 8080 port on it (it runs successfully on my pc). And I have downloaded and installed Eclipse IDE and connected it to the server. </p>
  
  <p>Then I tried testing it via this simple code:</p>
  
  <pre><code>&lt;html&gt;
      &lt;body&gt;
          &lt;h3&gt;Hello World&lt;/h3&gt;
          &lt;p&gt;The time on server is &lt;%= new java.util.Date()  %&gt;&lt;/p&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But whenever I run it I faced this problem:</p>
  
  <blockquote>
    <p><strong>Starting tomcat server at localhost has encountered a problem</strong></p>
  </blockquote>
  
  <p>You can see the full error message in this image</p>
  
  <p><a href="https://i.stack.imgur.com/wSNxh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wSNxh.png" alt="image"></a></p>