0

I built a new web project and added a JSP file to test if it works with the tomcat service. The IDE is Eclipse 3.7 for Java EE, I ran the project, then it showed:

Several ports(8080,8009)required by tomcat v7.0 server at localhost are already in use...

So I changed the two ports and ran it again(I'v restarted the tomcat service),but it still didn't work,it showed:

Server tomcat v7.0 server at localhost failed to start.

So what's the problem?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Xiaodan Mao
  • 1,648
  • 2
  • 17
  • 30

1 Answers1

1

hmm.. on which base OS you 're working . Windows or Linux

If it is Windows and you have installed tomcat as a service.. then go to run box in start and type services.msc and then in the opened window you will get to see many service running or stopped in the system. Find out the Tomcat Service and stop it. Then again just run your project again and it will automatically prompt you to start server.

success_anil
  • 3,659
  • 3
  • 27
  • 31