Using RestTemplate to submit the data to the rest endpoint throwing below error
Caused by: java.lang.StackOverflowError: null at org.springframework.http.client.support.HttpRequestWrapper.getHeaders(HttpRequestWrapper.java:88) at org.springframework.http.client.support.HttpRequestWrapper.getHeaders(HttpRequestWrapper.java:88) at org.springframework.http.client.support.HttpRequestWrapper.getHeaders(HttpRequestWrapper.java:88) at org.springframework.http.client.support.HttpRequestWrapper.getHeaders(HttpRequestWrapper.java:88)
Comment From: quaff
Show your code.
Comment From: bclozel
@SanjayGautam Could you share a sample project demonstrating the problem?
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-projects-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.