【问题标题】:Spring social instagram : cannot find current versionSpring social instagram:找不到当前版本
【发布时间】:2017-05-09 14:22:22
【问题描述】:

我按照本教程https://jhipster.github.io/tips/012_tip_add_new_spring_social_connector.html 在 pom.xml 中实现 instagram 的 spring social,但问题是:依赖项找不到当前版本。当我尝试(如教程告诉我的那样)实现 InstagramConnectionFactory 时,我发现了这个问题。确实,Java 文件找不到类,显然是因为找不到版本。

我还尝试通过 spring-social-instagram 官方 repo 获取版本:https://github.com/mattupstate/spring-social-instagram-example/blob/master/pom.xml 但版本“1.0.0.BUILD-SNAPSHOT”(${org.springframework.social-version})不是也正确。

有人遇到过这种问题吗?

【问题讨论】:

    标签: java spring maven dependencies pom.xml


    【解决方案1】:

    Maven 无法解决依赖关系,因为 spring-social-instagram 在 Maven Central 中不可用。你必须要么 add a maven repository to your POM 提供 spring-social-instagram,要么你必须 install it to your local repository

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-11-14
      • 2021-10-30
      • 2014-02-21
      • 1970-01-01
      • 1970-01-01
      • 2012-10-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多