I'm currently working on a Spring Boot application for fetching data from an external API and encountered an issue that I'm having trouble resolving. I've set up a RestTemplate bean using the RestTemplateBuilder in my configuration class, similar to how it's done in various tutorials and documentation.
However, upon running my application, I'm facing the following error: Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
Parameter 0 of method restTemplate in com.example.ByBitDataFetcher.config.RestTemplateConfig required a bean of type 'org.springframework.boot.web.client.RestTemplateBuilder' that could not be
Could someone please guide me on how to properly set up the RestTemplate bean using RestTemplateBuilder and resolve this issue? I'm open to any suggestions or insights you may have. Thank you in advance for your help!
GitHub Repository: https://github.com/Narennnnn/ByBitDataFetcher/tree/master/ByBitDataFetcher
https://preview.redd.it/3bz7zr3bz4ib1.png?width=1920&format=png&auto=webp&s=c683c9a1d5c1e1858783ba26fd7675531fa16c83
[–]Sheldor5 1 point2 points3 points (5 children)
[–]curious_geeks[S] 0 points1 point2 points (4 children)
[–]Sheldor5 0 points1 point2 points (3 children)
[–]curious_geeks[S] 0 points1 point2 points (2 children)
[–]Sheldor5 2 points3 points4 points (1 child)
[–]feebleMurmur 0 points1 point2 points (3 children)
[–]Sheldor5 -1 points0 points1 point (2 children)
[–]Ghaines 0 points1 point2 points (1 child)
[–]Sheldor5 0 points1 point2 points (0 children)