搭建springMVC+spring+mybatis遇到的問題及解決方案
阿新 • • 發佈:2019-01-25
解決方案:二月 15, 2017 10:07:58 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:ssm-practice' did not find a matching property. 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: Server version: Apache Tomcat/8.0.33 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: Server built: Mar 18 2016 20:31:49 UTC 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: Server number: 8.0.33.0 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: OS Name: Windows 7 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: OS Version: 6.1 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: Architecture: amd64 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: Java Home: C:\Soft\Java\jre7 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: JVM Version: 1.7.0_67-b01 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: JVM Vendor: Oracle Corporation 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: CATALINA_BASE: C:\Soft\apache-tomcat-8.0.33 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: CATALINA_HOME: C:\Soft\apache-tomcat-8.0.33 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: Command line argument: -Dcatalina.base=C:\Soft\apache-tomcat-8.0.33 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: Command line argument: -Dcatalina.home=C:\Soft\apache-tomcat-8.0.33 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: Command line argument: -Dwtp.deploy=C:\Soft\apache-tomcat-8.0.33\wtpwebapps 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: Command line argument: -Djava.endorsed.dirs=C:\Soft\apache-tomcat-8.0.33\endorsed 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.VersionLoggerListener log 資訊: Command line argument: -Dfile.encoding=UTF-8 二月 15, 2017 10:07:58 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 資訊: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Soft\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Common Files\NetSarang;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Soft\Java\jdk1.7.0_67\bin;C:\Soft\Java\jdk1.7.0_67\jre\bin;D:\Soft\TortoiseSVN\bin;C:\Soft\Vagrant\bin;C:\Soft\apache-maven-3.3.9\bin;C:\Soft\Java\jre7\bin;C:\Soft\apache-tomcat-8.0.33\lib;C:\Soft\apache-tomcat-8.0.33\bin;C:\Soft\apache-ant-1.9.7\bin;C:\Program Files\TortoiseGit\bin;C:\Soft\nodejs\;C:\Users\geili\AppData\Roaming\npm;. 二月 15, 2017 10:07:58 下午 org.apache.coyote.AbstractProtocol init 資訊: Initializing ProtocolHandler ["http-nio-8080"] 二月 15, 2017 10:07:58 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector 資訊: Using a shared selector for servlet write/read 二月 15, 2017 10:07:58 下午 org.apache.coyote.AbstractProtocol init 資訊: Initializing ProtocolHandler ["ajp-nio-8009"] 二月 15, 2017 10:07:58 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector 資訊: Using a shared selector for servlet write/read 二月 15, 2017 10:07:58 下午 org.apache.catalina.startup.Catalina load 資訊: Initialization processed in 814 ms 二月 15, 2017 10:07:58 下午 org.apache.catalina.core.StandardService startInternal 資訊: Starting service Catalina 二月 15, 2017 10:07:58 下午 org.apache.catalina.core.StandardEngine startInternal 資訊: Starting Servlet Engine: Apache Tomcat/8.0.33 二月 15, 2017 10:08:01 下午 org.apache.catalina.core.ContainerBase startInternal 嚴重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ssm-practice]] at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ssm-practice]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) ... 6 more Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> .action in servlet mapping at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3153) at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3128) at org.apache.catalina.startup.ContextConfig.configureContext(ContextConfig.java:1376) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1184) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:779) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) ... 6 more 二月 15, 2017 10:08:01 下午 org.apache.catalina.core.ContainerBase startInternal 嚴重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:787) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.startup.Catalina.start(Catalina.java:629) 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:351) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:924) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) ... 6 more 二月 15, 2017 10:08:01 下午 org.apache.catalina.startup.Catalina start 嚴重: The required Server component failed to start so Tomcat is unable to start. org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) at org.apache.catalina.startup.Catalina.start(Catalina.java:629) 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:351) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:787) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) ... 7 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) ... 9 more Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:924) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) ... 11 more 二月 15, 2017 10:08:01 下午 org.apache.coyote.AbstractProtocol pause 資訊: Pausing ProtocolHandler ["http-nio-8080"] 二月 15, 2017 10:08:01 下午 org.apache.coyote.AbstractProtocol pause 資訊: Pausing ProtocolHandler ["ajp-nio-8009"] 二月 15, 2017 10:08:01 下午 org.apache.catalina.core.StandardService stopInternal 資訊: Stopping service Catalina 二月 15, 2017 10:08:01 下午 org.apache.coyote.AbstractProtocol destroy 資訊: Destroying ProtocolHandler ["http-nio-8080"] 二月 15, 2017 10:08:01 下午 org.apache.coyote.AbstractProtocol destroy 嚴重: Failed to destroy end point associated with ProtocolHandler ["http-nio-8080"] java.lang.NullPointerException at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:305) at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:481) at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:831) at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:533) at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023) at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297) at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:589) at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297) at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:877) at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297) at org.apache.catalina.startup.Catalina.start(Catalina.java:633) 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:351) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485) 二月 15, 2017 10:08:01 下午 org.apache.coyote.AbstractProtocol destroy 資訊: Destroying ProtocolHandler ["ajp-nio-8009"] 二月 15, 2017 10:08:01 下午 org.apache.coyote.AbstractProtocol destroy 嚴重: Failed to destroy end point associated with ProtocolHandler ["ajp-nio-8009"] java.lang.NullPointerException at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:305) at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:481) at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:831) at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:533) at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023) at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297) at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:589) at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297) at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:877) at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297) at org.apache.catalina.startup.Catalina.start(Catalina.java:633) 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:351) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)