【问题标题】:Is there an issue in spring's guide?春季指南有问题吗?
【发布时间】:2017-06-08 04:07:32
【问题描述】:

遵循春季指南Centralized configuration 今天(2017 年 1 月 27 日),spring-boot 应用程序在启动时崩溃 java.lang.ClassNotFoundException: org.springframework.context.event.GenericApplicationListener

我认为原因是依赖管理的 BOM 在版本 Angel.SR4 中是指 spring-cloud-starter-parent 而在版本 中父项目是 spring-boot-starter-parent >1.4.3.RELEASE.

Angel.SR4 已经很老了,仍然指的是旧版本的 Spring-Boot,它与 spring-boot-starter-parent 的版本冲突。

Angel.SR4 替换为 Camden.SR4 解决了该问题。

是我遗漏了什么还是春季指南中的问题?

【问题讨论】:

标签: spring-boot spring-cloud


【解决方案1】:

问题在 spring 的 Github here 上打开。

【讨论】:

    猜你喜欢
    • 2016-09-07
    • 2015-07-25
    • 2011-10-19
    • 2016-06-29
    • 2016-12-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多