I am a beginner with the Spring Framework and wanted to try out Spring Social to make a simple web application which retrieves data from Facebook. For this I followed Spring Soc
After looking at the git history of the source code for the artifact spring-social-facebook, which I got from GitHub, I couldn't find any trace of ConnectionRepository at all.
After checking it out at mvnrepository.com I realized that when using version 2.0.3.RELEASE of the artifact spring-social-facebook as a dependency a lot more jar-files where dowloaded by Maven than it was when using version 3.0.0.M1 as a dependency. Among the missing jar-filer were two artifacts which I needed to get my application up and running. They were spring-social-core and spring-social-config.
In the end I found ConnectionRepository in the spring-social-core jar-file.
So what I in the end needed to do was to change the dependencies in the original pom-file from the guide, which were the following:
org.springframework.boot
spring-boot-starter-thymeleaf
org.springframework.social
spring-social-facebook
to:
org.springframework.boot
spring-boot-starter-thymeleaf
org.springframework.social
spring-social-facebook
3.0.0.M1
org.springframework.social
spring-social-core
2.0.0.M2
org.springframework.social
spring-social-config
2.0.0.M2
These changes allowed me to start up the application and retrieve some facebook data.