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
Step: 2
Click on a dynamic web project
Step: 3
Name your project
![]() |
| Add caption |
Step: 4
Take the JSP page in the wizard
Step: 5
write anything in body tag like
<body>
hello world
</body>
Step: 6
Start the server and error occurred.
Step: 7
Click on Apache and select your downloaded tomcat server and click on finished.
Step: 8
write tomcat installation directory
c:\program files Apache software foundation /tomcat and click on finished
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.
Now start the server and run your program.
video1











Comments
Post a Comment