I earlier worked with Eclipse IDE, tomcat (of various versions) for very small sample web applications. Now i am working with IntelliJ IDE and tomcat.
When i tried to run tomcat say some existing version, i get this error message : "Address localhost:8080 is already in use".
So i decided to delete all the existing tomcat dumps from my hard drive and go with only one version say 7.0.27. But i get one error message which can be seen in the attached document when i try to run the server.
Please suggest me how should i delete all the information related to ealier versions of tomcat from my hard drive so that i can freshly start my tomcat server.
You got to edit your server.xml file (found inside Tomcat installation > conf folder), in case you want to assign a different port number to tomcat as default to change the port number, can take any port number of your choice as long as that is not being used by some other process.
One other reason could be if you want to skip step 1 is that check if the services are running and stop them if they are, Do you have scheduled tomcat to start automatically ? shutdown.bat (again from bin) should help you out.