zoukankan      html  css  js  c++  java
  • tomcat启动报错

    [toc]启动错误

    does not exist or is not a readable directory

    问题:tomcat启动报错:does not exist or is not a readable directory
    原因:由于个人配置问题,tomcat的项目目录下(webapps)找不到相应的项目根路径,
    如果在eclipse里面修改过:右键项目-properties-web project settings-contexts root,此处是修改项目访问的根路径,
    做过如上修改以后,发布项目时可能报错:does not exist or is not a readable directory
    解决办法,停掉clean tomcat,在eclipse中双击tomcat服务器,修改publish module contexts to separate xml files,
    把前面的勾去掉,重新部署发布tomcat即可。

    Server Tomcat v7.0 Server at localhost failed to start.解决办法

    把你工作空间文件夹下的如下路径打开:
    <workspace-directory>.metadata.pluginsorg.eclipse.core.resources
    

    然后删除 .snap 文件,我在eclipse打开的情况下有这个.snap文件,但是当我关闭eclipse再看这个文件夹的时候,发现.snap文件不见了,所以这个办法没有使用成功,网上说有人使用成功了。大家可以试一下。

    把你工作空间文件夹下的如下路径打开:
    <workspace-directory>.metadata.pluginsorg.eclipse.wst.server.core
    

    删除里面的temp*文件夹,我这有temp0和temp1,可能是一个tomcat对应一个temp吧,不太清楚,删除后重启eclipse,tomcat就可以用了。

    安静等阳关
  • 相关阅读:
    PAT (Advanced Level) 1086. Tree Traversals Again (25)
    PAT (Advanced Level) 1085. Perfect Sequence (25)
    PAT (Advanced Level) 1084. Broken Keyboard (20)
    PAT (Advanced Level) 1083. List Grades (25)
    PAT (Advanced Level) 1082. Read Number in Chinese (25)
    HDU 4513 吉哥系列故事――完美队形II
    POJ Oulipo KMP 模板题
    POJ 3376 Finding Palindromes
    扩展KMP
    HDU 2289 Cup
  • 原文地址:https://www.cnblogs.com/lyjing/p/7571037.html
Copyright © 2011-2022 走看看