追梦人的自留地

关注

Cannot find tomcat-9.0.0.M21/bin/setclasspath.sh

追梦人的自留地

关注

阅读 16

2023-07-13


问题描述:将linux上的tomcat直接拷贝到以一个路径下,执行sh startup.sh 报错

解决:修改全局变量配置文件

1、vim /etc/profile   (主要修改如下图所标记的值 )

Cannot find tomcat-9.0.0.M21/bin/setclasspath.sh_tomcat

2、source /etc/profile (设置环境变量立即生效)

相关推荐

敬亭阁主

Tomcat问题之 启动 Cannot find /usr/local/tomcat/bin/setclasspath.sh

敬亭阁主 58 0 0

扒皮狼

linux篇-tomcat:Cannot find /usr/local/tomcat1/bin/setclasspath.sh

扒皮狼 67 0 0

kiliwalk

解决tomcat启动报错Cannot find /usr/local/tomcat/bin/setclasspath.sh问题

kiliwalk 39 0 0

12a597c01003

Linux下启动Tomcat提示Cannot find /setclasspath.sh

12a597c01003 132 0 0

自信的姐姐

/usr/bin/ld cannot find -lGL

自信的姐姐 65 0 0

_LEON_

-bash: ./xxx.sh: /bin/sh^M: bad interpreter: No such file or directory

_LEON_ 17 0 0

_LEON_

Linux - /bin/sh^M: bad interpreter: No such file or directory

_LEON_ 60 0 0

若如初梘

bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory

若如初梘 65 0 0

椰果玩安卓

解决tomcat启动Cannot find ./catalina.sh The file is absent or does not have execute permission This file

椰果玩安卓 24 0 0

半秋L

shell脚本报错:-bash:/bin/sh^M: bad interpreter:

半秋L 188 0 0

精彩评论(0)

0 0 举报