Server Tomcat Server at localhost failed to start in Eclipse
On this page, you will get the complete solution to how resolve Tomcat Server at localhost failed to start. Most of the time Java Web Developer facing the problem that their
Tomcat Server failed to start at localhost in Eclipse IDE.
When you are working on a project and all is going in right direction and you are ready to deploy your project and suddenly you get the message your Tomcat server is failed to start at localhost and you have no idea what’s going wrong, it’s really irritating. Now no need to worry we have the complete solution.
How to Solve It?
Basically, there are three ways that I have tried personally and all is working fine.
1-Go to your workspace directory » .metadata » .plugins » org.eclipse.core.resources folder.
2- Delete the .snap file.
3- Restart your Eclipse IDE.
1- Open the Servers tab from Windows » Show View » Servers menu.
2- Right click on the server and delete it
3-Create a new server by going New » Server on server tab.
4-Click on Configure runtime environments link.
5-Select the Apache Tomcat Server and remove it. This will remove the Tomcat server configuration.
6-Click on OK and exit the screen above now.
7-From the screen below, choose Apache Tomcat server and click on Next button:
8-Browse to Tomcat Installation Directory.
9-Click on Next and choose which project you would like to deploy:
10-Click on Finish after adding your project.
11-Now launch your Server.
1-Go to your workspace directory » .metadata » .plugins » org.eclipse.wst.server.core folder.
2- Delete the tmp folder.
3- Restart your Eclipse IDE