Problem: debugging tomcat servlets from within intellij

When I try to debug my tomcat application from within intellij, I get the following error message:

cmd /c "C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\catalina.bat" run
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.


this is because of the spaces in the path... how do I fix this? Is this a bug in IntelliJ that this doesn't work when tomcat is installed like this?

2 comments
Comment actions Permalink

Hello Niels,

Which build of IDEA are you using?

When I try to debug my tomcat application from within intellij, I get
the following error message:

cmd /c "C:\Program Files\Apache Software Foundation\Tomcat
5.5\bin\catalina.bat" run
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
this is because of the spaces in the path... how do I fix this? Is
this a bug in IntelliJ that this doesn't work when tomcat is installed
like this?



0
Comment actions Permalink

Had the same problem yesterday. You need to install the .zip version of Tomcat and not the Windows Service, since the script that IntelliJ wants to run doesn't exist. Although I agree, it really looks like it is a problem with spaces...

0

Please sign in to leave a comment.