$ /Library/Tomcat/bin/startup.shAnd you encountered this error:
Cannot find /Library/Tomcat/Home/bin/setclasspath.sh This file is needed to run this programjust unset the CATALINA_HOME variable:
$ unset CATALINA_HOME
Then run this again:
/Library/Tomcat/bin/startup.sh
Then visit http://127.0.0.1:8080
Troubleshooting idea got from this: http://www.malisphoto.com/tips/tomcatonosx.html
Another approach is to use sudo:
sudo /Library/Tomcat/bin/startup.sh
Then visit http://127.0.0.1:8080
The first option works perfectly for me. Thanks for the quick solution!
ReplyDeleteThanks for the quick solution :)
ReplyDeleteThanks for article
ReplyDeleteI am installing apache tomcat8 and java8 on the top of centos VMWARE image. Tomcat is giving setclasspath.sh Can not found error. i already did "unset CATALINA_HOME ". Then tomcat started but not running in the browser. please resolve this. And Is there any other solution for this setclasspath.sh can not found?
ReplyDeleteThank you in advance.
hi iam also having same issues
DeleteWhat could be the permanent solution for this kind of issue
ReplyDeleteNice, i read it, detailed instructions, but I could not start the bin, I just didn't know how to open bin file https://wikiext.com/bin until I had downloaded the universal viewer for such files. It actually helped and it works correctly. Now I'm going to move on to the next stage got from your tips...
ReplyDeletei have a problem after typing ./startup.sh command after tomcat installation in my linux as mentioned below.
ReplyDeleteplease help me
Cannot find /opt/tomcat//bin/setclasspath.sh