嚴重: Error starting static Resources
java.lang.IllegalArgumentException: Document base D:\workspace12\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\qizheng-manager-web 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)
2011-8-27 23:13:59 org.apache.catalina.core.StandardContext start
嚴重: Error in resourceStart()
2011-8-27 23:13:59 org.apache.catalina.core.StandardContext start
嚴重: Error getConfigured
2011-8-27 23:13:59 org.apache.catalina.core.StandardContext start
嚴重: Context [/qizheng-manager-web] startup failed due to previous errors
2011-8-27 23:13:59 org.apache.catalina.core.StandardContext stop
資訊: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/qizheng-manager-web] has not been started
2011-8-27 23:13:59 org.apache.coyote.http11.Http11Protocol start
資訊: Starting Coyote HTTP/1.1 on http-8080
2011-8-27 23:13:59 org.apache.jk.common.ChannelSocket init
資訊: JK: ajp13 listening on /0.0.0.0:8009
2011-8-27 23:13:59 org.apache.jk.server.JkMain start
資訊: Jk running ID=0 time=0/31 config=null
2011-8-27 23:13:59 org.apache.catalina.startup.Catalina start
資訊: Server startup in 366 ms
問題解決:沒有找到為什麼錯了,只是按照
http://blog.csdn.net/sweblish/article/details/6686046
又配置了一下,就行了。沒有找到原因,也就沒有爽的感覺。
還有一種錯誤可能是:server的server.xml檔案中,沒有刪除原來處理常式的地址。