从Spring Boot 2.0.0.M6迁移到2.0.0.M7 - dependencies.dependency.version'对于org.springframework.social:spring-social-security:jar缺失

时间:2017-12-03 17:40:39

标签: spring maven spring-boot spring-security spring-social

我尝试将我的应用程序从Spring Boot 2.0.0.M6升级到2.0.0.M7

升级我的Maven应用程序后,我遇到了以下错误:

enter image description here

例如以下依赖

    <dependency>
        <groupId>org.springframework.social</groupId>
        <artifactId>spring-social-security</artifactId>
    </dependency>

显示以下错误:

Project build error: 'dependencies.dependency.version' for org.springframework.social:spring-social-security:jar is missing.

我做错了什么以及如何解决?

1 个答案:

答案 0 :(得分:1)

Dependency management and auto-configuration for Spring Social was removed from Spring Boot in 2.0 M7中自动创建来自ID的链接。长期计划是让它进入Spring Social本身,但这还没有发生。