About web.xml3.0 Start error

Source: Internet
Author: User
Tags apache tomcat

September 08, 2017 10:18:19 am org.apache.tomcat.util.digester.SetPropertiesRule begin warning: [Setpropertiesrule]{server/service /engine/host/context} Setting Property ' source ' to ' Org.eclipse.jst.jee.server:war_item ' didn't not find a matching property . September 08, 2017 10:18:20 am org.apache.catalina.startup.VersionLoggerListener log info: Server version:apache tomcat/7.0 .699 m 08, 2017 10:18:20 am org.apache.catalina.startup.VersionLoggerListener log information: Server BUILT:APR 11 2016 07: 57:09 UTC September 08, 2017 10:18:20 am org.apache.catalina.startup.VersionLoggerListener log info: Server number:7.0.69.0 Nine Month 08, 2017 10:18:20 am org.apache.catalina.startup.VersionLoggerListener log info: OS name:windows 89 Month 08, 201 7 10:18:20 am Org.apache.catalina.startup.VersionLoggerListener Log info: OS version:6.2 September 08, 2017 10:18:20 am O Rg.apache.catalina.startup.VersionLoggerListener Log Info: architecture:amd64 September 08, 2017 10:18:20 am Org.apache.cat Alina.startup.VersionLoggerLisTener Log Info: Java home:h:\work\jre September 08, 2017 10:18:20 am Org.apache.catalina.startup.VersionLoggerListener l OG info: JVM version:1.7.0_45-b18 September 08, 2017 10:18:20 am org.apache.catalina.startup.VersionLoggerListener Log Info: JVM Vendor:oracle Corporation September 08, 2017 10:18:20 am org.apache.catalina.startup.VersionLoggerListener Log Info: catalina_base:h:\cjd\cjd\apache-tomcat-7.0.69_8080 September 08, 2017 10:18:20 am Org.apache.catalina.startup.VersionLogg Erlistener Log Info: catalina_home:h:\cjd\cjd\apache-tomcat-7.0.69_8080 September 08, 2017 10:18:20 am ORG.APACHE.CATALINA.S Tartup. Versionloggerlistener Log message: Command line argument:-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost : 530,389 08, 2017 10:18:20 am org.apache.catalina.startup.VersionLoggerListener log info: Command line argument:-dcatalina . base=h:\cjd\cjd\apache-tomcat-7.0.69_8080 September 08, 2017 10:18:20 am Org.apache.catalina.startup.VersionLoggerListener Log message: Command line argument:-DCatalina.home=h:\cjd\cjd\apache-tomcat-7.0.69_8080 September 08, 2017 10:18:20 am Org.apache.catalina.startup.VersionLoggerListener Log message: Command line argument:-dwtp.deploy=h:\cjd\cjd\ Apache-tomcat-7.0.69_8080\wtpwebapps September 08, 2017 10:18:20 am org.apache.catalina.startup.VersionLoggerListener Log Info: Command line argument:-djava.endorsed.dirs=h:\cjd\cjd\apache-tomcat-7.0.69_8080\endorsed September 08, 2017 10:18:20 am Org.apache.catalina.startup.VersionLoggerListener Log message: Command line argument:-DFILE.ENCODING=GBK September 08, 2017 10:18:20 am Org.apache.catalina.core.AprLifecycleListener lifecycleevent Info: The APR based Apache Tomcat Native library WH Ich allows optimal performance in production environments is not found on the java.library.path:h:\work\bin; C:\WINDOWS\Sun\Java\bin; C:\WINDOWS\system32; C:\WINDOWS; H:\work\jre\bin; C:\Program Files (x86) \common files\intel\shared Files\cpp\bin\intel64;d:\oracle\product\10.2.0\db_1\bin; C:\Program Files (x86) \intel\icls client\; C:\Program Files\intel\icls Client\; C:\windows\system32; C:\windows; C:\windows\System32\Wbem; H:\work\bin; C:\windows\System32\WindowsPowerShell\v1.0\; C:\Program Files (x86) \intel\intel (R) Management Engine components\dal; C:\Program Files\intel\intel (R) Management Engine components\dal; C:\Program Files (x86) \intel\intel (R) Management Engine components\ipt; C:\Program Files\intel\intel (R) Management Engine components\ipt; C:\Program Files (x86) \nvidia Corporation\physx\common; C:\Program files\intel\intelsgxpsw\bin\x64\release\; C:\Program files\intel\intelsgxpsw\bin\win32\release\; C:\Program files\intel\wifi\bin\; C:\Program Files\Common Files\intel\wirelesscommon\; C:\WINDOWS\system32; C:\WINDOWS; C:\WINDOWS\System32\Wbem; C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D: \mysql\bin;d:\mysql\mysql Server 5.5\bin; C:\Program FILES\VISUALSVN Server\bin;d:\svn\bin; G:\apache-maven-3.3.9\bin; G:\apache-cxf-3.0.9\bin; C:\Users\zxz\AppData\Local\Microsoft\WindowsApps;;. September 08, 2017 10:18:20 am org.apache.coyote.AbstractProtocol init info: InitialIzing Protocolhandler ["http-bio-9090"] September 08, 2017 10:18:20 am org.apache.coyote.AbstractProtocol init info: Initializing Protocolhandler ["ajp-bio-9972"] September 08, 2017 10:18:20 am Org.apache.catalina.startup.Catalina Load Info: initialization Processed in 1216 Ms September 08, 2017 10:18:20 am org.apache.catalina.core.StandardService startinternal info: Starting service Cat Alina September 08, 2017 10:18:20 am org.apache.catalina.core.StandardEngine startinternal info: Starting Servlet engine:apache Tom cat/7.0.69 September 08, 2017 10:18:21 am org.apache.catalina.loader.WebappClassLoaderBase validatejarfile Info: validatejarfile (H:\CJD\cjd\apache-tomcat-7.0.69_8080\wtpwebapps\war_item\WEB-INF\lib\el-api-6.0.29.jar)-jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending Class:javax/el/expression.class September 08, 2017 10:18:21 am org.apache.catalina.loader.WebappClassLoaderBase Validatejarfile Information: Validatejarfile (H:\CJD\cjd\apache-tomcat-7.0.69_8080\wtpwebapps\war_item\WEB-INF\lib\ Servlet-api-6.0.29.jar)-jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending Class:javax/servlet/servlet.class September 08, 2017 10:18:23 am org.apache.catalina.core.ContainerBase startinternal severity: A child container failed during startjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException:Failed to start component [Standardengine[catalina]. Standardhost[localhost]. Standardcontext[/war_item] at Java.util.concurrent.FutureTask.report (futuretask.java:122) at java.util.concurrent . Futuretask.get (futuretask.java:188) at Org.apache.catalina.core.ContainerBase.startInternal (Containerbase.java : 1120) at Org.apache.catalina.core.StandardHost.startInternal (standardhost.java:819) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:147) at org.apache.catalina.core.containerbase$ Startchild.call (containerbase.java:1572) at Org.apache.catalina.core.containerbase$startchild.call ( containerbase.java:1562) at Java.util.concurrent.FutureTask.run (futuretask.java:262) at Java.Util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1145) at Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:615) at Java.lang.Thread.run ( thread.java:744) caused by:org.apache.catalina.LifecycleException:Failed to start component [Standardengine[catalina ]. Standardhost[localhost]. Standardcontext[/war_item]] at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:153) ... 6 morecaused By:java.lang.noclassdeffounderror:org/springframework/web/context/webapplicationcontext at JAVA.LANG.CLASS.GETDECLAREDFIELDS0 (Native Method) at Java.lang.Class.privateGetDeclaredFields (class.java:2397) at J Ava.lang.Class.getDeclaredFields (class.java:1806) at Org.apache.catalina.util.Introspection.getDeclaredFields ( introspection.java:106) at Org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation ( webannotationset.java:270) at Org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations ( Webannotationset.java:139) at Org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations ( WEBANNOTATIONSET.JAVA:65) at Org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig ( contextconfig.java:416) at Org.apache.catalina.startup.ContextConfig.configureStart (contextconfig.java:890) at Org.apache.catalina.startup.ContextConfig.lifecycleEvent (contextconfig.java:387) at Org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (lifecyclesupport.java:117) at Org.apache.catalina.util.LifecycleBase.fireLifecycleEvent (lifecyclebase.java:90) at Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5472) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:147) ... 6 morecaused By:java.lang.ClassNotFoundException:org.springframework.web.context.WebApplicationContext at Org.apache.catalina.loader.WebappClassLoaderBase.loadClass (webappclassloaderbase.java:1858) at Org.apache.catalina.loader.WebappClassLoadErbase.loadclass (webappclassloaderbase.java:1701) ... More than September 08, 2017 10:18:23 am org.apache.catalina.core.ContainerBase startinternal Grave: A child container failed during STA rtjava.util.concurrent.ExecutionException:org.apache.catalina.LifecycleException:Failed to start component [ Standardengine[catalina]. Standardhost[localhost]] at Java.util.concurrent.FutureTask.report (futuretask.java:122) at Java.util.concurrent.FutureTask.get (futuretask.java:188) at org.apache.catalina.core.ContainerBase.startInternal (containerbase.java:1120) at Org.apache.catalina.core.StandardEngine.startInternal (standardengine.java:300) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:147) at Org.apache.catalina.core.StandardService.startInternal (standardservice.java:444) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:147) at Org.apache.catalina.core.StandardServer.startInternal (standardserver.java:756) at Org.apache.catalina.util.LifecycleBAse.start (lifecyclebase.java:147) at Org.apache.catalina.startup.Catalina.start (catalina.java:693) at SUN.REFLECT.NATIVEMETHODACCESSORIMPL.INVOKE0 (Native Method) at Sun.reflect.NativeMethodAccessorImpl.invoke ( nativemethodaccessorimpl.java:57) at Sun.reflect.DelegatingMethodAccessorImpl.invoke ( delegatingmethodaccessorimpl.java:43) at Java.lang.reflect.Method.invoke (method.java:606) at Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:294) at Org.apache.catalina.startup.Bootstrap.main ( bootstrap.java:428) 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:1572) at Org.apache.catalina.core.containerbase$startchild.call (containerbase.java:1562) at Java.util.concurrent.FutureTask.run (futuretask.java:262) at Java.util.concurrenT.threadpoolexecutor.runworker (threadpoolexecutor.java:1145) at java.util.concurrent.threadpoolexecutor$ Worker.run (threadpoolexecutor.java:615) at Java.lang.Thread.run (thread.java:744) caused by: Org.apache.catalina.lifecycleexception:a child container failed during start at Org.apache.catalina.core.ContainerBas E.startinternal (containerbase.java:1128) at Org.apache.catalina.core.StandardHost.startInternal ( standardhost.java:819) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:147) ... 6 more September 08, 2017 10:18:23 am Org.apache.catalina.startup.Catalina start critical: The required Server component failed to start So Tomcat are unable to start.org.apache.catalina.LifecycleException:Failed to start component [standardserver[9071]] A T Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:153) at Org.apache.catalina.startup.Catalina.start (catalina.java:693) at Sun.reflect.NativeMethodAccessorImpl.invoke0 ( Native Method) at Sun.reflect.NativeMEthodaccessorimpl.invoke (nativemethodaccessorimpl.java:57) at Sun.reflect.DelegatingMethodAccessorImpl.invoke ( delegatingmethodaccessorimpl.java:43) at Java.lang.reflect.Method.invoke (method.java:606) at Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:294) at Org.apache.catalina.startup.Bootstrap.main ( bootstrap.java:428) 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:756) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:147) ... 7 morecaused by:org.apache.catalina.LifecycleException:Failed to start component [Standardengine[catalina]] at Org.ap Ache.catalina.util.LifecycleBase.start (lifecyclebase.java:153) at Org.apache.catalina.core.StandardService.startInternal (standardservice.java:444) at Org.apache.catalina.util.LifecyClebase.start (lifecyclebase.java:147) ... 9 morecaused by:org.apache.catalina.lifecycleexception:a child container failed during start at ORG.APACHE.CATALINA.C Ore. Containerbase.startinternal (containerbase.java:1128) at Org.apache.catalina.core.StandardEngine.startInternal ( standardengine.java:300) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:147) ... One more September 08, 2017 10:18:23 am Org.apache.coyote.AbstractProtocol pause Info: pausing protocolhandler ["http-bio-9090"] September 08 , 2017 10:18:23 am Org.apache.coyote.AbstractProtocol pause Info: pausing protocolhandler ["ajp-bio-9972"] September 08, 2017 10:18: 23 a.m. Org.apache.catalina.core.StandardService Stopinternal Info: Stopping service Catalina September 08, 2017 10:18:23 am Org.apach E.coyote.abstractprotocol Destroy info: Destroying Protocolhandler ["http-bio-9090"] September 08, 2017 10:18:23 Org.apache.coyote.AbstractProtocol Destroy info: Destroying Protocolhandler ["ajp-bio-9972"]
View Code

The above is the web.xml3.0 start error message, the solution: is to change the version number in the Web. XML configuration file to version 2.5 .

Common Web. XML version header file: web.xml3.0
<? XML version= "1.0″encoding=" Utf-8″ ?> <  version= "3.0″xmlns=" Http://java.sun.com/xml/ns/javaee "xmlns: xsi= "Http://www.w3.org/2001/XMLSchema-instance"xsi:schemalocation= "http// Java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_3_0.xsd ">
web.xml2.5
 <?  xml version= "1.0″encoding=" Utf-8″  ?>  <  web-app  xmlns:xsi  = "Http://www.w3.org/2001/XMLSchema-instance"  xmlns  = "Http://java.sun.com/xml/ns/javaee"  xmlns:web  = "Http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"  xsi:schemalocation  = "Http://java.sun.com/xml/ns/javaee  http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd "id  = "webapp_id"  version  = "2.5″>  
web.xml2.4
<? XML version= "1.0″encoding=" Utf-8″ ?> <  xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"xmlns= "http// Java.sun.com/xml/ns/j2ee "xmlns:web=" Http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd " xsi:schemalocation  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd "version=" 2.4″>

About web.xml3.0 Start error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.