【问题标题】:Spring Boot 1.4.0.RELEASE and Spring 4.3.2.RELEASESpring Boot 1.4.0.RELEASE 和 Spring 4.3.2.RELEASE
【发布时间】:2016-08-04 17:44:35
【问题描述】:

我正在尝试将我的项目更新为 Spring Boot 1.4.0.RELEASESpring 4.3.2.RELEASE,但它失败并出现以下错误:

The project was not built since its build path is incomplete:
Cannot find the class file for org.springframework.core.io.support.PropertySourceFactory.
Cannot find the class file for org.springframework.core.NestedRuntimeException.

Spring Boot 1.4.0.RELEASE 是否支持Spring 4.3.2.RELEASE,如果支持,我做错了什么以及如何解决?

【问题讨论】:

  • 如果spring boot依赖已经包含了,为什么还要包含spring框架依赖呢?
  • Goog 问题.. 老实说,我不记得了.. 我认为来自其他库的一些交叉引用带有错误(最旧的)spring 工件.. 我必须用 corect Spring 覆盖它版本..

标签: spring spring-boot


【解决方案1】:

请参阅我的回答 here 以了解尝试这样做的人。您基本上必须使用依赖管理来直接获取依赖关系。

【讨论】: