更改org.springframework.social.version版本后无法构建Web应用程序

时间:2016-07-06 07:28:28

标签: spring-security spring-social spring-social-facebook

我在我的网络应用程序中使用org.springframework.social进行facebook登录。我已将我的版本更新为。

<org.springframework.social.version>2.0.1.RELEASE</org.springframework.social.version>

现在我无法构建我的应用程序。依赖是

<dependency>
    <groupId>org.springframework.social</groupId>
    <artifactId>spring-social-config</artifactId>
    <version>${org.springframework.social.version}</version>
</dependency>
<dependency>
    <groupId>org.springframework.social</groupId>
    <artifactId>spring-social-core</artifactId>
    <version>${org.springframework.social.version}</version>
</dependency>
<dependency>
    <groupId>org.springframework.social</groupId>
    <artifactId>spring-social-security</artifactId>
    <version>${org.springframework.social.version}</version>
</dependency>
<dependency>
    <groupId>org.springframework.social</groupId>
    <artifactId>spring-social-web</artifactId>
    <version>${org.springframework.social.version}</version>
</dependency>

<!-- Spring Social Facebook -->
<dependency>
    <groupId>org.springframework.social</groupId>
    <artifactId>spring-social-facebook</artifactId>
    <version>${org.springframework.social.version}</version>
</dependency>

<!-- Spring Social Twitter -->
<dependency>
    <groupId>org.springframework.social</groupId>
    <artifactId>spring-social-twitter</artifactId>
    <version>${org.springframework.social.version}</version>
</dependency>

我现在得到的错误是

Failed to execute goal on project my-web-project: Could not resolve dependencies for project com:my-web-project:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: org.springframework.social:spring-social-config:jar:2.0.1.RELEASE, org.springframework.social:spring-social-core:jar:2.0.1.RELEASE, org.springframework.social:spring-social-security:jar:2.0.1.RELEASE, org.springframework.social:spring-social-web:jar:2.0.1.RELEASE, org.springframework.social:spring-social-twitter:jar:2.0.1.RELEASE, javax.activation:activation:jar:1.0.2: Could not find artifact org.springframework.social:spring-social-config:jar:2.0.1.RELEASE in central (http://repo.maven.apache.org/maven2) -> [Help 1]

对此有何帮助?

0 个答案:

没有答案