我试图在ubuntu的/ usr / local / tomcat / bin目录下运行startup.sh命令,但它告诉我“找不到命令”
为什么会这样呢? 如果我执行ls -l命令,它会在目录中显示该文件。
在此先感谢您的build议:)我使用tomcat 7。
试试sudo /etc/init.d/tomcat start
或sudo /etc/init.d/tomcat6启动。 如果你想手动启动它,你可能需要chmod + x startup.sh使其可执行。