0

I can't start the server. It gives me this warning:

Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099

'C:\Users\Keno' is not recognized as an internal or external command, Disconnected from server operable program or batch file. The system cannot find the path specified.

Community
  • 1
  • 1
Kvark900
  • 147
  • 1
  • 4
  • 18
  • 1
    Try to reinstall Tomcat, make sure you can start it from the command line startup script. – CrazyCoder Jul 31 '17 at 17:06
  • I installed it and I can run it, but in project it gives me that warning. How to start it from command line? – Kvark900 Jul 31 '17 at 17:31
  • It would be much faster for you to just google your question instead of asking here, one on the first search results would be https://stackoverflow.com/a/4499142/104891. – CrazyCoder Jul 31 '17 at 17:32
  • I added that in path variable, but `startup.bat` is not recognized as a command – Kvark900 Jul 31 '17 at 17:43

1 Answers1

1

Problem was that I downloaded and referenced unzipped folder in Intellij. Solution was to download installation file, install it and referenced installation folder in Intellij. Sorry I was in a rush...

Kvark900
  • 147
  • 1
  • 4
  • 18
  • Unzipped folder works just fine in IntelliJ IDEA, so it's still not clear what was the problem. – CrazyCoder Aug 01 '17 at 00:49
  • These are the steps I've done: 1) I have downloaded Tomcat zip folder in my documents, I unzipped it and added it in Intellij . When I started the server it gave me those warnings 2) Added path variables as you suggested 3) I downloaded Tomcat installation file, installed it, and referenced installation folder in Intellij. Now it works. – Kvark900 Aug 01 '17 at 06:46