shirobert 发表于 2017-2-7 10:16:47

mac下启动tomcat报错:The BASEDIR environment variable is not defined correctly

The BASEDIR environmentvariable is not defined correctly
This environment variable is needed to run this program

解决办法:
把$CATALINA_HOME/bin目录下所有.sh文件添加一个可执行权限。
sudo chmod +x /usr/share/tomcat/bin/*.sh

CATALINA_HOME根据具体配置情况执行上面的命令。
页: [1]
查看完整版本: mac下启动tomcat报错:The BASEDIR environment variable is not defined correctly