2 qq 27781161 qq_27781161 于 2016.09.14 14:35 提问

编程菜鸟一枚,请问各位大神这是怎么回事。自己搭建spring-boot的时候启动start报错

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]
Caused by: java.lang.IllegalStateException: java.lang.NullPointerException
Caused by: java.lang.NullPointerException: null
2016-09-14 14:07:52.047 ERROR 8912 --- [ restartedMain] org.apache.catalina.core.ContainerBase : A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
2016-09-14 14:07:52.047 WARN 8912 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
2016-09-14 14:07:52.094 ERROR 8912 --- [ restartedMain] o.s.boot.SpringApplication : Application startup failed
org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
Caused by: org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardServer[-1]]
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Tomcat]]
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat]]
Caused by: org.apache.catalina.LifecycleException: A child container failed during start

1个回答

li_wen_jin
li_wen_jin   2016.09.14 14:51

不要用内置的tomcat

Csdn user default icon
上传中...
上传图片
插入图片