Skip to content

Tag: spring-boot

JsonObject returns {“empty”:false} in API response

I have the following code on my project: When I Log htmlcda parameter, I get the html string correctly. However, in response results JsonObject I get {“empty”:false}. Any help please? Answer Spring boot uses jackson as default serializer and you’re trying to return JSONObject itself. Jackson…

spring webclient load balance

Never used webclient with load balancing before and I fallowed https://spring.io/guides/gs/spring-cloud-loadbalancer/ and implemented webclient load balancer, now I am trying to use helthchecks and having problem. and I got the error below when I comment “withHealthChecks()” everything works as ex…

Multiple Excel file in sprint boot

IS there the way to create multiple excel file instead of multiple worksheets through spring boot? I have been using apache poi for generation of excel. } When i try to repeat the code of exp.export(response) , it gives me the 1 excel and for the next excel it says The workbook already contains a sheet named …