
6

Tomcat启动时提示找不到setclasspath.sh解决方法
source link: https://www.huhexian.com/31154.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Tomcat启动时提示找不到setclasspath.sh解决方法
有台服务器重启后没有做自启,有个项目需要跑在tomcat里,于是手动在目录下执行startup.sh命令,但是一直提示缺少setclasspath.sh文件。
- cannot find /root/XXX/apache-tomcat-8.5.42/bin/setclasspath.sh
- This file is need to run this program
但是这个文件明明就在当前目录下,百思不得其解。
在大佬的提醒下 面向百度得知
tomcat启动之前必须要先执行 unset CATALINA_HOME ,不然会提示这个错误 于是执行,一切正常
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK