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

转载 2015年07月07日 09:53:39

原博文网址: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

java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.20\webapps\XXX错误

启动服务器,报上述错误,是因为在服务器中(如tomcat)删除了某项目,单残留的配置文件没删除造成的。解决办法是到服务器中找到conf\Catalina\localhost下找到错误信息中对应的配置文...

An existing resource has been found at location D:\Tomcat 7\apache-tomcat-7.0.55\webapps\futureOA02.

项目复制粘贴,发布时出现:An existing resource has been found at location D:\Tomcat 7\apache-tomcat-7.0.55\webapp...

Eclipse里Tomcat报错:Document base ……does not exist or is not a readable directory

Server Tomcat v7.0 Server at localhost failed to start.解决办法     严重: Error starting static Resources...

Tomcat启动时出现java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.20\webapps\XXX doe

java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.20\webapps\bookstore does not...

Microsoft Office 2016 Project Visio Pro Plus 64 32 下载

Microsoft Office 2016 简体中文Vol版镜像下载(Pro Plus、Visio、Project百度云/360云盘下载) 2015-10-07 来源:蓝点网 分类:软件工具 评论(2...

我的第一个@aspect注入Aop的例子(aop实现所需要的jar包)

Aspectj允许使用Annotation用于定义切面,切入点和增强处理.即通过注解@Aspect将一个普通的java类变为一个切面bean然后对另外一个@component组件java类进行增强处理...

java.lang.IllegalArgumentException: Document base D:\Program Files\Apache Software Foundation\Tomcat

2012-8-28 22:39:44 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomc...

java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Software Foundation\Tomcat

最近经常有人问报错:  java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Software Foun...

启动tomcat7报Error starting static Resources java.lang.IllegalArgumentException: Document base

启动tomcat7报Error starting static Resources java.lang.IllegalArgumentException: Document base...的错误...

java.lang.IllegalArgumentException: Document base E:\Eclipse\workspace\.metadata\.plugins\org.eclips

1、错误描述 四月 13, 2015 5:56:55 下午 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based A...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.37\webapps\host-manager does
举报原因:
原因补充:

(最多只允许输入30个字)