七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server version: Apache Tomcat/8.0.33 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server built: Mar 18 2016 20:31:49 UTC 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server number: 8.0.33.0 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Name: Windows 7 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Version: 6.1 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Architecture: amd64 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Java Home: C:Program FilesJavajdk1.8.0_74jre 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Version: 1.8.0_74-b02 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Vendor: Oracle Corporation 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_BASE: C:Program FilesJavaTomcatapache-tomcat-8.0.33 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_HOME: C:Program FilesJavaTomcatapache-tomcat-8.0.33 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.home=C:Program FilesJavaTomcatapache-tomcat-8.0.33 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.base=C:Program FilesJavaTomcatapache-tomcat-8.0.33 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.endorsed.dirs=C:Program FilesJavaTomcatapache-tomcat-8.0.33/common/endorsed 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.io.tmpdir=C:Program FilesJavaTomcatapache-tomcat-8.0.33 emp 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.library.path=C:Program FilesJavajdk1.8.0_74in;C:Program FilesJavaTomcatapache-tomcat-8.0.33in 七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dsun.io.useCanonCaches=false 七月 11, 2016 11:12:58 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: Loaded APR based Apache Tomcat Native library 1.2.5 using APR version 1.5.1. 七月 11, 2016 11:12:58 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 七月 11, 2016 11:12:59 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL 信息: OpenSSL successfully initialized (OpenSSL 1.0.2g 1 Mar 2016) 七月 11, 2016 11:12:59 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-apr-8080"] 七月 11, 2016 11:12:59 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-apr-8009"] 七月 11, 2016 11:12:59 下午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 2093 ms 七月 11, 2016 11:12:59 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 七月 11, 2016 11:12:59 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/8.0.33 七月 11, 2016 11:12:59 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory C:Program FilesJavaTomcatapache-tomcat-8.0.33webappsEL 七月 11, 2016 11:13:00 下午 org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory getObjectInstance 警告: Name = wzd Property maxActive is not used in DBCP2, use maxTotal instead. maxTotal default value is 8. You have set value of "20" for "maxActive" property, which is being ignored. 七月 11, 2016 11:13:00 下午 org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory getObjectInstance 警告: Name = wzd Property maxWait is not used in DBCP2 , use maxWaitMillis instead. maxWaitMillis default value is -1. You have set value of "1000" for "maxWait" property, which is being ignored. 七月 11, 2016 11:13:00 下午 org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory getObjectInstance 信息: Name = wzd Ignoring unknown property: value of "10" for "maxIdel" property 七月 11, 2016 11:13:01 下午 org.apache.jasper.servlet.TldScanner scanJars 信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 七月 11, 2016 11:13:01 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory C:Program FilesJavaTomcatapache-tomcat-8.0.33webappsEL has finished in 1,336 ms 七月 11, 2016 11:13:01 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory C:Program FilesJavaTomcatapache-tomcat-8.0.33webappsGoodsFind 七月 11, 2016 11:13:03 下午 org.apache.catalina.core.ContainerBase addChildInternal 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/GoodsFind]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1092) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1834) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: Lorg/apache/commons/logging/Log; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2583) at java.lang.Class.getDeclaredFields(Class.java:1916) at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106) at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:256) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:132) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65) at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:335) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:782) 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) ... 10 more Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.Log at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1139) ... 24 more 七月 11, 2016 11:13:03 下午 org.apache.catalina.startup.HostConfig deployDirectory 严重: Error deploying web application directory C:Program FilesJavaTomcatapache-tomcat-8.0.33webappsGoodsFind java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/GoodsFind]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:729) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1092) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1834) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 七月 11, 2016 11:13:03 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory C:Program FilesJavaTomcatapache-tomcat-8.0.33webappsGoodsFind has finished in 2,557 ms 七月 11, 2016 11:13:03 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-apr-8080"] 七月 11, 2016 11:13:03 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-apr-8009"] 七月 11, 2016 11:13:03 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 4013 ms
产生如上的错误,因为在导入jar包的时候,没有导入commons-logging-1.2.jar包,导致tomcat启动的时候报错。
该包的下载地址为commons-logging-1.2.jar