starting Tomcat server at localhost has encountered a problem

Starting Tomcat server at localhost has encountered a problem 
starting Tomcat server at localhost has encountered a problem

Starting Tomcat server at localhost has encountered a problem.
The server cannot be started because one or more of the ports is invalid.

Open the server editor and correct the invalid ports.

Solve this problem and print hello world.


Here an easy step is given to solve this error.

Step: 1
Open eclipse
starting Tomcat server at localhost has encountered a problem

Step: 2
Click on a dynamic web project
starting Tomcat server at localhost has encountered a problem

Step: 3
Name your project
starting Tomcat server at localhost has encountered a problem
Add caption

Step: 4 
Take the JSP page in the wizard
starting Tomcat server at localhost has encountered a problem

Step: 5
write anything in body tag like
<body>
hello world
</body>

Step: 6
Start the server and error occurred.
starting Tomcat server at localhost has encountered a problem

Step: 7
Click on Apache and select your downloaded tomcat server and click on finished.
starting Tomcat server at localhost has encountered a problem

Step: 8
write tomcat installation directory
c:\program files Apache software foundation /tomcat  and click on finished
starting Tomcat server at localhost has encountered a problem

Step: 9
Start the server then an error occurred.

'Starting Tomcat server at localhost..' has encountered a problem.

The tomcat server configuration at the server/tomcat server at localhost-config is missing. Check the server for errors.

Step: 10
Open the server.xml file change shutdown port. 

starting Tomcat server at localhost has encountered a problem

Now start the server and run your program.
starting Tomcat server at localhost has encountered a problem



video1

                                              


Comments