启动tomcat报错,host-manager does not exist

    xiaoxiao2021-12-14  18

    当我们把webapps下面的所有文件夹删除了或只保留ROOT时候,启动tomcat,就可能出现错误: pache-tomcat-6.0.26\webapps\host-manager does not exist or is not a readable directory 这个错误不影响工程,但是只是在启动日志中出现让我们看着不爽 解决办法: 这是因为在conf\Catalina\localhost里面有两个xml文件host-manager.xml、manager.xml,删掉他们在启动Tomcat就没问题了。 或Catalina里面其它的文件夹中也可能存在host-manager.xml,manager.xml这样的文件, 把它们都删除了就可以了.
    转载请注明原文地址: https://ju.6miu.com/read-965233.html

    最新回复(0)