I searched about how to set Tomcat as my project's server but still haven't figured out so let me ask you why.
I have Tomcat but get error message which say "the selected directory is not a valid Tomcat home".
Question
Can you suggest reasons why I might get this message?
For Tomcat the actual logs are placed under CATALINA_BASE/logs directory. The value of the CATALINA_BASE set by IntelliJ IDEA will be printed in the console of the Run or Debug tool window. You can also find the log files under idea. system.
Setup IntelliJ to Debug Tomcat Now switch to the “Startup/Connection” tab and select “Debug” and set the debugging port. Note: 8000 is the default debugging port for Tomcat when using the jpda command. Now click “Apply” and “OK“.
You need to select a subdirectory of your current directory, which contains tomcat executables.
In my case it was /usr/local/Cellar/tomcat/8.0.32/libexec
It's most likely because your user account associated with IntelliJ doesn't have permission to read the folder.
Once you grant access, you'll be good to go.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With