标签:.sh kill home 成功 his needed catalina bsp /usr
Tomcat版本为 8.5.29。
kill调用tomcat进程后,重启tomcat报如下错误:
Cannot find /usr/local/apache-tomcat-8.5.29/bin/setclasspath.sh This file is needed to run this program
编辑 catalina.sh,发现前两行多了如下内容:
export CATALINA_BASE=$CATALINA_BASE2
export CATALINA_HOME=$CATALINA_HOME2
于是注释掉这两行,重启tomcat成功。至于为什么多了这两行,不晓得原因。怎么发现这两行的呢,对比了下相同版本的tomcat的 catalina.sh
Tomcat启动报错:This file is needed to run this program
标签:.sh kill home 成功 his needed catalina bsp /usr
原文地址:https://www.cnblogs.com/xbq8080/p/9185239.html