标签:des blog http java 使用 os io 文件
http://blog.csdn.net/sweblish/article/details/6686046
严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base D:\companyworkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\LongLong 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(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:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2011-8-14 14:56:39 org.apache.catalina.core.StandardContext start
严重: Error in resourceStart()
2011-8-14 14:56:39 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2011-8-14 14:56:39 org.apache.catalina.core.StandardContext start
严重: Context [] startup failed due to previous error
如果还有错误,那么在配置:项目--》左击--》Project Fracets进行如下配置。先选java 6.0 右下角apply,在选Dynamic Web 右下角apply就ok了。
Eclipse创建Dynamic Web部署,布布扣,bubuko.com
标签:des blog http java 使用 os io 文件
原文地址:http://www.cnblogs.com/jixu8/p/3892553.html