You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am facing one issue while upgrading the version as below.
Spring cloud version from 2021.0.5 to 2024.0.1
Spring boot starter parent from 2.7.5 to 3.4.5
In my configuration class I have written
@Bean public Client method1() throws Exception{ Client a = new Client.Default(getSocketFactory(keystore,pass,truststore,pass), new NoopHostnameVerifier()); } return a;
If I write the same code as below it works
@Bean public static Client method1() throws Exception{ Client a = new Client.Default(getSocketFactory(keystore,pass,truststore,pass), new NoopHostnameVerifier()); } return a;
When I declare the static keywords on the method it started working and getting no issue, please assist.
Hello, @anup5708. Thanks for reporting the issue. Please provide a minimal, complete, verifiable example that reproduces the issue - as a link to a GH repo with a small, executable app.
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.
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.
Activity
OlgaMaciaszek commentedon Jul 25, 2025
Hello, @anup5708. Thanks for reporting the issue. Please provide a minimal, complete, verifiable example that reproduces the issue - as a link to a GH repo with a small, executable app.
spring-cloud-issues commentedon Aug 1, 2025
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.
spring-cloud-issues commentedon Aug 8, 2025
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.