Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Warning the selected directory is not a valid tomcat home

I installed Tomcat with home brew brew install tomcat. On Selecting Tomcat server to add a server to the application server I get this

Warning the selected directory is not a valid tomcat home.

However, running catalina start starts the tomcat server on my terminal.

like image 623
Olatunde Garuba Avatar asked Oct 10 '15 15:10

Olatunde Garuba


Video Answer


2 Answers

If you are using IDEA on Linux platform, use the command:

chmod 755 -R apache-tomcat-<<Your-tomcat-version>>

Then try to restart your service again.

like image 171
jackson Avatar answered Oct 07 '22 00:10

jackson


Try selecting the libexec subdirectory in IntelliJ - i.e. /usr/local/Cellar/tomcat/8.5.9/libexec

like image 21
Stepan Avatar answered Oct 07 '22 00:10

Stepan