报Cannot find /usr/local/tomcat/bin/setclasspath.sh错误

错误如下:

[root@RSP-DEVWEB03 bin]#sh  startup.sh
Cannot find /usr/local/tomcat8081/bin/setclasspath.sh
This file is needed to run this program

 执行语句:

[root@RSP-DEVWEB03 bin]#unset CATALINA_HOME2
[root@RSP-DEVWEB03 bin]#unset CATALINA_BASE2

即可解决错误。

原文地址:https://www.cnblogs.com/zhangqigao/p/9673823.html