No qualifying bean of type [org.springframework.social.twitter.api.Twitter] found for dependency

后端 未结 1 566
日久生厌
日久生厌 2021-01-24 20:54

In my Spring Boot application I\'m trying to implement Twitter oAuth support. Following this example http://spring.io/guides/gs/accessing-twitter/ I have successfully added Twit

相关标签:
1条回答
  • 2021-01-24 21:16

    The reason is you don't have a src/main/resources/application.properties or config/application.properties, which defines spring.social.twitter.appId and spring.social.twitter.appSecret.

    0 讨论(0)
提交回复
热议问题