关闭

java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.37\webapps\host-manager does

437人阅读 评论(0) 收藏 举报

原博文网址:http://m.blog.csdn.net/blog/u010270555/9956749

启动服务器,出现一下情况,是因为删除了tomcat中的项目,但是残留配置文件没有删除,解决方法:到服务器中(我用的是tomcat)找到了:conf\Catalina\localhost下有一个某个文件,比如;我报错的是host-manager,那么路径下就有个host-manager.xml,删除,就屁事没有了

严重: Error starting static Resources

java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.37\webapps\host-manager does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4320)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4489)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2013-8-13 22:40:20 org.apache.catalina.core.StandardContext start
严重: Error in resourceStart()
2013-8-13 22:40:20 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2013-8-13 22:40:20 org.apache.catalina.core.StandardContext start
严重: Context [/host-manager] startup failed due to previous errors

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:95150次
    • 积分:1636
    • 等级:
    • 排名:千里之外
    • 原创:46篇
    • 转载:157篇
    • 译文:0篇
    • 评论:4条
    文章分类
    最新评论