Basically I have followed all the instructions to run Java EE programs. I have downloaded and installed tomcat apache 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.
Then I tried testing it via this simple code:
<html>
<body>
<h3>Hello World</h3>
<p>The time on server is <%= new java.util.Date() %></p>
</body>
</html>
But whenever I run it I faced this problem:
Starting tomcat server at localhost has encountered a problem
You can see the full error message in this image