web.xml中<url-pattern>.do</url-pattern>
改为<url-pattern>*.do</url-pattern>
1 严重: A child container failed during start 2 java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/springmvc]] 3 5 at java.util.concurrent.FutureTask.report(FutureTask.java:122) 6 at java.util.concurrent.FutureTask.get(FutureTask.java:188) 7 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) 8 at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816) 9 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 10 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) 11 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) 12 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 13 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 14 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 15 at java.lang.Thread.run(Thread.java:744) 16 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/springmvc]] 17 18 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 19 ... 6 more 20 Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> .do in servlet mapping 21 22 at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3300) 23 at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3275) 24 at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1438) 25 at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1357) 26 at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889) 27 at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386) 28 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) 29 at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) 30 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5380) 31 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 32 ... 6 more 33 九月 17, 2015 9:50:57 上午 org.apache.catalina.core.ContainerBase startInternal 34 严重: A child container failed during start 35 java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] 36 37 at java.util.concurrent.FutureTask.report(FutureTask.java:122) 38 at java.util.concurrent.FutureTask.get(FutureTask.java:188) 39 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) 40 at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300) 41 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 42 at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) 43 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 44 at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:739) 45 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 46 at org.apache.catalina.startup.Catalina.start(Catalina.java:689) 47 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 48 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 49 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 50 at java.lang.reflect.Method.invoke(Method.java:606) 51 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321) 52 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455) 53 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] 54 55 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 56 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) 57 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) 58 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 59 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 60 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 61 at java.lang.Thread.run(Thread.java:744) 62 Caused by: org.apache.catalina.LifecycleException: A child container failed during start 63 64 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131) 65 at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816) 66 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 67 ... 6 more 68 九月 17, 2015 9:50:57 上午 org.apache.catalina.startup.Catalina start 69 严重: The required Server component failed to start so Tomcat is unable to start. 70 org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]] 71 72 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 73 at org.apache.catalina.startup.Catalina.start(Catalina.java:689) 74 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 75 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 76 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 77 at java.lang.reflect.Method.invoke(Method.java:606) 78 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321) 79 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455) 80 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]] 81 82 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 83 at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:739) 84 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 85 ... 7 more 86 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]] 87 88 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 89 at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) 90 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 91 ... 9 more 92 Caused by: org.apache.catalina.LifecycleException: A child container failed during start 93 94 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131) 95 at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300) 96 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 97 ... 11 more
IT技术和行业交流群 417691667