“弹簧测试”和“spring-boot-starter-thymeleaf”出错

时间:2014-10-02 02:42:16

标签: spring spring-mvc spring-boot spring-test

如果我们从这个 Spring guide 开始,只需在 build.gradle 中添加以下附加依赖项(不修改任何Java代码),就会出现很多错误消息在项目编制期间出来。

compile("org.springframework.boot:spring-boot-starter-thymeleaf:1.1.5.RELEASE")
compile("org.springframework:spring-test:4.1.1.RELEASE")

但是,如果我们将spring-test的版本从 4.1.1.RELEASE 切换到 3.2.11.RELEASE ,我们可以再次运行这个Spring项目。 / p>

有谁知道这种“冲突”的原因?

0 个答案:

没有答案