title: Apache Tomcat v8.0 server at localhost fails to start
body: <p>I am using eclipse luna IDE and I am constantly getting 'Server Tomcat v8.0 Server at localhost failed to start.' error. 
  I tried following things: 
  -deleting server
  -starting and restarting server
  -changing server location to use Tomcat installation
  -checked jre version from java build path.
  -cleaning work directory
  -project>clean>clean all projects.</p>
  
  <p>Note: my jsp files are in WebContent directory.
  Edit: As pointed out in comments and answer, I now know that problem lies in AWS SDK I added. But other projects where I added sdk are working fine. <strong>Now if anyone can help me out to know what can I do about the problem would be very helpful.</strong> Thanks.
  Still nothing fixed error.
  Here is the full stacktrace I got from console:</p>
  
  <pre><code>    Feb 16, 2016 9:05:31 AM 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[/FileUploader]]
      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:917)
      at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:868)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
      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[/FileUploader]]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      ... 6 more
  Caused by: java.lang.NoClassDefFoundError: com/amazonaws/AmazonServiceException
      at java.lang.Class.getDeclaredFields0(Native Method)
      at java.lang.Class.privateGetDeclaredFields(Unknown Source)
      at java.lang.Class.getDeclaredFields(Unknown Source)
      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:334)
      at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:774)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305)
      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:5095)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 6 more
  Caused by: java.lang.ClassNotFoundException: com.amazonaws.AmazonServiceException
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1295)
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1147)
      ... 20 more
  
  Feb 16, 2016 9:05:31 AM 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]]
      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:917)
      at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.core.StandardService.startInternal(StandardService.java:439)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:760)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
      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:154)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
      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:925)
      at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:868)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 6 more
  
  Feb 16, 2016 9:05:31 AM org.apache.catalina.startup.Catalina start
  SEVERE: 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:154)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
      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:154)
      at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:760)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 7 more
  Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      at org.apache.catalina.core.StandardService.startInternal(StandardService.java:439)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 9 more
  Caused by: org.apache.catalina.LifecycleException: A child container failed during start
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:925)
      at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 11 more
  
  Feb 16, 2016 9:05:31 AM org.apache.coyote.AbstractProtocol pause
  INFO: Pausing ProtocolHandler ["http-nio-8080"]
  Feb 16, 2016 9:05:31 AM org.apache.coyote.AbstractProtocol pause
  INFO: Pausing ProtocolHandler ["ajp-nio-8009"]
  Feb 16, 2016 9:05:31 AM org.apache.catalina.core.StandardService stopInternal
  INFO: Stopping service Catalina
  Feb 16, 2016 9:05:31 AM org.apache.coyote.AbstractProtocol destroy
  INFO: Destroying ProtocolHandler ["http-nio-8080"]
  Feb 16, 2016 9:05:31 AM org.apache.coyote.AbstractProtocol destroy
  SEVERE: Failed to destroy end point associated with ProtocolHandler ["http-nio-8080"]
  java.lang.NullPointerException
      at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:307)
      at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:482)
      at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:795)
      at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:531)
      at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)
      at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
      at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:588)
      at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
      at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:850)
      at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
      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)
  
  Feb 16, 2016 9:05:31 AM org.apache.coyote.AbstractProtocol destroy
  INFO: Destroying ProtocolHandler ["ajp-nio-8009"]
  Feb 16, 2016 9:05:31 AM org.apache.coyote.AbstractProtocol destroy
  SEVERE: Failed to destroy end point associated with ProtocolHandler ["ajp-nio-8009"]
  java.lang.NullPointerException
      at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:307)
      at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:482)
      at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:795)
      at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:531)
      at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)
      at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
      at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:588)
      at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
      at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:850)
      at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
      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)
  </code></pre>