关闭

java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable

标签: c
3393人阅读 评论(0) 收藏 举报
分类:

转自http://hi.baidu.com/lynna/blog/item/c9effcfa5160b4d9b58f3156.html

错误提示:

SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\tool\apache-tomcat-6.0.16\webapps\project does not exist or is not a readable

directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:141)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3957)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4126)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Dec 1, 2008 3:58:38 PM org.apache.catalina.core.StandardContext start
分析:

1.War package已经在C:\tool\apache-tomcat-6.0.16\webapps 移出。

2.项目也已经在 C:\tool\apache-tomcat-6.0.16\work\Catalina\localhost 移除。

3.还要移出项目的配置文件。目录: C:\tool\apache-tomcat-6.0.16\conf\Catalina\localhost

0
0

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