1
votes

I've installed Tomcat 9 and Netbeans 8.2 in Ubuntu 16.04. I've tried to add Tomcat in Netbeans as a server but says: The specified Server Location (Catalina Home) folder is not valid.

I've looking for the solution but nothing worked.

I've installed tomcat in folder: /opt/tomcat.

I've tried to create symbolic links such as:

sudo ln -s /opt/tomcat/ /usr/share/tomcat/conf sudo ln -sf /opt/tomcat/lib /opt/tomcat/common/lib

But as I said nothing worked.

Could you help me please?

Thanks, Roberto

2
I've tried it but it didn't work. Any other suggestions please?Roberto plana

2 Answers

2
votes

hi roberto i dont know if you solve this problem but for another people i solved this problem in ubuntu 18.04 with chmod -R 777 apache-tomcat-9.0.14/ working perfectly perfectly, Sorry for my english not is my primary language

0
votes

In my Ubuntu 20.04.1 LTS I have installed Tomcat from this link Tomcat installation guide in /opt/tomcat folder . When I installed Netbeans I was facing the similar issue so I just change the permission of /opt/tomcat/ with sudo chmod -R 777 /opt/tomcat/apache-tomcat/ command and it worked for me.