Reputation: 329
I have stopped my Tomcat 7.0 server in Eclipse. When I go to the server view, it has confirmed that the tomcat server has stopped. Yet any time I try to run a new project on the Tomcat Server, I get the error
"Several Ports (8080, 8009) required by Tomcat v7.0 Server at localhost are already in use..." How do I get tomcat server to run my java project?
Upvotes: 0
Views: 4827
Reputation: 373
Go to the terminal and execute the command:
brew services stop tomcat
Post this.. dont start any services using "brew"
Run your application using Run on Server
If the state of the server is marked stopped
then do the following:
Go to Window>Show View>Other Select Server>Servers
In the console if you see stopped, synchronized
, right click on the line where you see stopped
and start the server
Upvotes: -1
Reputation: 818
Go to localhost:8080 and see if you get a response.
If so, try going to the /bin folder and running shutdown.sh(.bat depending on your OS).
Upvotes: 3