美文网首页
腾讯云部署完tomcat,开启./startup.sh后报错,找

腾讯云部署完tomcat,开启./startup.sh后报错,找

作者: 彭奕茗 | 来源:发表于2018-10-25 14:29 被阅读0次

    error提示: touch: cannot touch ‘/usr/local/tomcat/apache-tomcat-8.0.50-src/logs/catalina.out’: No such file or directory
    /usr/local/tomcat/apache-tomcat-8.0.50-src/bin/catalina.sh: line 456: /usr/local/tomcat/apache-tomcat-8.0.50-src/logs/catalina.out: No such file or directory

    1.png

    是因为没有logs目录,那我们就创建一个目录

    image.png

    mkdir /usr/local/tomcat/apache-tomcat-8.0.50-src/logs

    再开启就ok


    image.png

    转载自:https://blog.csdn.net/weixin_39728460/article/details/79908307

    相关文章

      网友评论

          本文标题:腾讯云部署完tomcat,开启./startup.sh后报错,找

          本文链接:https://www.haomeiwen.com/subject/bczqtqtx.html