java.lang.IllegalArgumentException是什么异常,如何解决.严重: Error starting static Resourcesjava.lang.IllegalArgumentException: Document base D:\workspace\t\WebContent does not exist or is not a readable directory at org.apache.naming.resou

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/14 11:34:00

java.lang.IllegalArgumentException是什么异常,如何解决.严重: Error starting static Resourcesjava.lang.IllegalArgumentException: Document base D:\workspace\t\WebContent does not exist or is not a readable directory at org.apache.naming.resou
java.lang.IllegalArgumentException是什么异常,如何解决.
严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base D:\workspace\t\WebContent does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:140)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3814)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3985)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2011-1-12 9:13:43 org.apache.catalina.core.StandardContext start
严重: Error in resourceStart()
2011-1-12 9:13:43 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2011-1-12 9:13:43 org.apache.catalina.core.StandardContext start
严重: Context [/t] startup failed due to previous errors

java.lang.IllegalArgumentException是什么异常,如何解决.严重: Error starting static Resourcesjava.lang.IllegalArgumentException: Document base D:\workspace\t\WebContent does not exist or is not a readable directory at org.apache.naming.resou
一般是 路径不存在,或项目名不一致导致的
希望对你能有所帮助