Spring启动异常Debug调试

在以下位置打印断点,然后就可以Bug异常出现的原因:

org.springframework.context.support.AbstractApplicationContext#refresh - catch (BeansException ex)
/org/springframework/spring-context/5.2.8.RELEASE/spring-context-5.2.8.RELEASE-sources.jar!/org/springframework/context/support/AbstractApplicationContext.java:557
refresh()方法包含启动销毁的全过程

 

posted @ 2021-03-22 14:55  杏仁拌饭  阅读(2)  评论(0)    收藏  举报