tomcat启动报错Cannot find /usr/local/tomcat9/bin/setclasspath.sh解决办法

195 阅读1分钟

问题 tomcat启动时报错 Cannot find /usr/local/tomcat9/bin/setclasspath.sh This file is needed to run this program

解决问题办法

在任意目录执行命令

unset CATALINA_HOME

  • 注释
  • unset命令
  • Linux中unset命令用于删除变量或函数
  • 语法:unset [-fv][变量或函数名称]