title: Tomcat server showing not able to start
body: <p>As I was making a small spring mvc project , used tomcat server but as I ran the application the tomcat server failed.</p>
  <pre><code>Jul 10, 2020 8:32:48 PM org.apache.catalina.core.AprLifecycleListener init
  WARNING: The Apache Tomcat Native library failed to load. The error reported was [C:\Program Files\Apache Software Foundation\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform]
  java.lang.UnsatisfiedLinkError: C:\Program Files\Apache Software Foundation\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
      at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
      at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430)
      at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487)
      at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684)
      at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2617)
      at java.base/java.lang.Runtime.load0(Runtime.java:765)
      at java.base/java.lang.System.load(System.java:1866)
      at org.apache.tomcat.jni.Library.&lt;init&gt;(Library.java:42)
      at org.apache.tomcat.jni.Library.initialize(Library.java:206)
      at org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:198)
      at org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifecycleListener.java:107)
      at org.apache.catalina.connector.Connector.&lt;init&gt;(Connector.java:83)
      at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:67)
      at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1259)
      at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:510)
      at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183)
      at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1377)
      at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2710)
      at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
      at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:534)
      at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:888)
      at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:824)
      at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
      at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
      at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:635)
      at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1517)
      at org.apache.catalina.startup.Catalina.parseServerXml(Catalina.java:584)
      at org.apache.catalina.startup.Catalina.load(Catalina.java:675)
      at org.apache.catalina.startup.Catalina.load(Catalina.java:712)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:302)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:472)
  
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: Server version name:   Apache Tomcat/9.0.37
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: Server built:          Jun 30 2020 20:09:49 UTC
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: Server version number: 9.0.37.0
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: OS Name:               Windows 10
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: OS Version:            10.0
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: Architecture:          amd64
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: Java Home:             C:\Program Files\Java\jdk-12
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: JVM Version:           12+33
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: JVM Vendor:            Oracle Corporation
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: CATALINA_BASE:         C:\Users\Shishir\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: CATALINA_HOME:         C:\Program Files\Apache Software Foundation
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: Command line argument: -Dcatalina.base=C:\Users\Shishir\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: Command line argument: -Dwtp.deploy=C:\Users\Shishir\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
  Jul 10, 2020 8:32:49 PM org.apache.catalina.startup.VersionLoggerListener log
  INFO: Command line argument: -Dfile.encoding=Cp1252
  Jul 10, 2020 8:32:49 PM org.apache.coyote.AbstractProtocol init
  INFO: Initializing ProtocolHandler [&quot;http-nio-8080&quot;]
  Jul 10, 2020 8:32:50 PM org.apache.catalina.startup.Catalina load
  INFO: Server initialization in [1681] milliseconds
  Jul 10, 2020 8:32:50 PM org.apache.catalina.core.StandardService startInternal
  INFO: Starting service [Catalina]
  Jul 10, 2020 8:32:50 PM org.apache.catalina.core.StandardEngine startInternal
  INFO: Starting Servlet engine: [Apache Tomcat/9.0.37]
  Jul 10, 2020 8:32:51 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
  WARNING: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [420] milliseconds.
  Jul 10, 2020 8:32:52 PM org.apache.catalina.core.ContainerBase startInternal
  SEVERE: A child container failed during start
  java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/spring-mvc-demo]]
      at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
      at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
      at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
      at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:738)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
  Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/spring-mvc-demo]]
      at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
      ... 21 more
  Caused by: java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found. This is not legal with relative ordering. See section 8.2.2 2c of the Servlet specification for details. Consider using absolute ordering.
      at org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments(WebXml.java:2260)
      at org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments(WebXml.java:2218)
      at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1342)
      at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:983)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
      at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5044)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      ... 27 more
  
  Jul 10, 2020 8:32:52 PM org.apache.catalina.core.ContainerBase startInternal
  SEVERE: A child container failed during start
  java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: A child container failed during start
      at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
      at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
      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:183)
      at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:738)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
  Caused by: org.apache.catalina.LifecycleException: A child container failed during start
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:928)
      at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
      ... 13 more
  Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/spring-mvc-demo]]
      at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
      at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
      ... 21 more
  Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/spring-mvc-demo]]
      at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
      ... 21 more
  Caused by: java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found. This is not legal with relative ordering. See section 8.2.2 2c of the Servlet specification for details. Consider using absolute ordering.
      at org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments(WebXml.java:2260)
      at org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments(WebXml.java:2218)
      at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1342)
      at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:983)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
      at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5044)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      ... 27 more
  
  Jul 10, 2020 8:32:52 PM org.apache.catalina.startup.Catalina start
  SEVERE: The required Server component failed to start so Tomcat is unable to start.
  org.apache.catalina.LifecycleException: A child container failed during start
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:928)
      at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:738)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
  Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: A child container failed during start
      at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
      at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
      ... 13 more
  Caused by: org.apache.catalina.LifecycleException: A child container failed during start
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:928)
      at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
      ... 13 more
  Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/spring-mvc-demo]]
      at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
      at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
      ... 21 more
  Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/spring-mvc-demo]]
      at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
      ... 21 more
  Caused by: java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found. This is not legal with relative ordering. See section 8.2.2 2c of the Servlet specification for details. Consider using absolute ordering.
      at org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments(WebXml.java:2260)
      at org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments(WebXml.java:2218)
      at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1342)
      at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:983)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
      at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5044)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      ... 27 more
  
  Jul 10, 2020 8:32:52 PM org.apache.coyote.AbstractProtocol pause
  INFO: Pausing ProtocolHandler [&quot;http-nio-8080&quot;]
  Jul 10, 2020 8:32:52 PM org.apache.catalina.core.StandardService stopInternal
  INFO: Stopping service [Catalina]
  Jul 10, 2020 8:32:52 PM org.apache.coyote.AbstractProtocol destroy
  INFO: Destroying ProtocolHandler [&quot;http-nio-8080&quot;]
  WARNING: An illegal reflective access operation has occurred
  WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/C:/Program%20Files/Apache%20Software%20Foundation/lib/catalina.jar) to field java.io.ObjectStreamClass$Caches.localDescs
  WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
  WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  WARNING: All illegal access operations will be denied in a future release
  </code></pre>
  <p>I have set up the HTTPs port at 8080 and the listening port at the 8005.
  It stops automatically as you click to start the error log at screen ,please help me out in this problem.
  the pop-up shows &quot;Server Tomcat v9.0 Server at localhost failed to start&quot;</p>