Tomcat v7.0 Server at localhost failed to start.
严重: A child container failed during start
: : Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at (:122)
at (:188)
at (:1123)
at (:816)
at (:150)
at
StartChild.call(ContainerBase.java:1575)atorg.apache.catalina.core.ContainerBase
(:1565)
at (:262)
at (:1145)
at $(:615)
at (:745)
Caused by: : Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at (:154)
… 6 more
Caused by: : com/octo/captcha/service/CaptchaServiceException
at .getDeclaredFields0(Native Method)
at (:2436)
at (:1806)
at (:106)
at (:270)
at (:139)
at (:65)
at (:415)
at (:892)
at (:386)
at (:117)
at (:90)
at (:5380)
at (:150)
… 6 more
Caused by: :
at (:1720)
at (:1571)
… 20 more
三月 30, 2017 3:08:02 下午 startInternal
严重: A child container failed during start
: : Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
at (:122)
at (:188)
at (:1123)
at (:300)
at (:150)
at (:443)
at (:150)
at (:739)
at (:150)
at (:689)
at .invoke0(Native Method)
at (:57)
at (:43)
at (:606)
at (:321)
at (:455)
Caused by: : Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
at (:154)
at
StartChild.call(ContainerBase.java:1575)atorg.apache.catalina.core.ContainerBase
(:1565)
at (:262)
at (:1145)
at $(:615)
at (:745)
Caused by: : A child container failed during start
at (:1131)
at (:816)
at (:150)
… 6 more
三月 30, 2017 3:08:02 下午 start
严重: The required Server component failed to start so Tomcat is unable to start.
: Failed to start component [StandardServer[8005]]
at (:154)
at (:689)
at .invoke0(Native Method)
at (:57)
at (:43)
at (:606)
at (:321)
at (:455)
Caused by: : Failed to start component [StandardService[Catalina]]
at (:154)
at (:739)
at (:150)
… 7 more
Caused by: : Failed to start component [StandardEngine[Catalina]]
at (:154)
at (:443)
at (:150)
… 9 more
Caused by: : A child container failed during start
at (:1131)
at (:300)
at (:150)
… 11 more
解决方案:
查看发布的位置jar有没有发布上去,我的就是maven 依赖jar包没打上去引起的错误
2.严重: Exception sending context initialized event to listener instance of class
: Error creating bean with name ‘cityServiceImpl’ defined in file [F:\developSource\eclipse\workSpaceX86_64.\\tmp2\wtpwebapps\sport12\WEB-INF\classes\cn\itcast\core\service\country\]: BeanPostProcessor before instantiation of bean failed; nested exception is : Error creating bean with name ‘#1’: Instantiation of bean failed; nested exception is : Could not instantiate bean class []: Constructor threw exception; nested exception is
解决方法:
后面查到是接口的包引错了,
改为
3Caused by: : org/springframework/web/context/support/ServletRequestHandledEvent
clean 项目,重新部署
Tomcat v7.0 Server at localhost was unable to start within 90 seconds. If the server requires more time, try increasing the timeout in the server editor.
1) 修改启动需要的时间
2)将这里面项目都删了,在重新部署
3)检查配置文件路径是不是写错,或者名字写错了