Tomcat Started/stopped with errors, return code:1 Make sure you have java jdk or jre installed and the required ports are free
Problem: Tomcat Started/stopped with errors, return code:1
This error can occur due to the following reasons
- Tomcat port is not free, usually it runs on the 8080 port, make sure tomcat server is not running in your machine either directly, or through Eclipse/Intellij IDE tools. This post can be helpful for you to understand whether any other instance of the tomcat is running in the 8080 port.
- Xampp may be corruputed and you can download and try with the fresh one. (link is mentioned below).
- Make sure your machine is properly installed with jre/jdk.
- Just run java -version to know the status of the java.
java -version
Solution for Tomcat Started/stopped with errors, return code:1
Configure the server in the eclipse. go to windows -> show view -> servers
then add the new wizard server.
Now go to xampp control panel and start the apache and try.
If it does not then change the port number of tomcat server in the eclipse by double clicking it and try again
If still problem exists, then better download the new xampp and try.
Thanks for reading this post……!!!