Describe the bug
I am developing a Spring boot microservice with Unirest. The service works well on local but in the staging phase, we have a very strange bug:
{
"timestamp": 1576073804660,
"status": 500,
"error": "Internal Server Error",
"message": "Could not initialize class kong.unirest.Unirest",
"path": "/api/v1/user/"
}
The Unirest jar isn't in your package. How are you deploying? With a WAR or shaded jar? also make sure you haven't listed the Unirest dependency as "provided" in maven/gradle
Describe the bug I am developing a Spring boot microservice with Unirest. The service works well on local but in the staging phase, we have a very strange bug:
To Reproduce Following code line is being used:
Environmental Data: