I am using Eclipse Neon and Tomcat server 9.0 and JDK 1.8 It was working well but unfortunately its giving me error 'Server Tomcat v9.0 Server at localhost failed to start.' I tried to change the ports i.e. connection port and other ports too but it did not solve my problem and this error is shown when I start the server or run the web app I am currently working on. Other solution other than change in port because I tried it and it did not resolve my problem?????
It will work.
I had the same problem with Tomcat 9.xx and Eclipse. None of the given solutions helped me.
However, there is a missing step (for some of us) before recreating a new Server in Eclipse you may need to add the path to a jar file. The missing step was browsing to your /Tomcat-Directory/lib/servlet-api and adding servlet-api.jar
Steps:
1- Right click on the project you work on > Build Path > Configure Build Path > Libraries > Add External JARs
2- Select all JAR files from the Tomcat/bin and Tomcat/lib
3- Click "OK"
This made it work for me. I hope it will help you as well.
Thank you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With