Where is the path of tomcat 9 to add in Netbeans? I've used /opt/tomcat/conf

Posted November 19, 2018 4.3k views
ApacheJavaUbuntu 18.04

The specified Server Location (Catalina Home) folder is not valid.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

I had the same issue, solved it by granting the Netbeans user permissions to the tomcat folder /opt/tomcat

sudo chmod -R 775 /opt/tomcat/


You could try running the following command:

ps aux | grep -i catalina

If Catalina is running you would be able to see the path in the output.