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?
请先登录再写评论。
Hello Niels,
Which build of IDEA are you using?
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...