我得到错误500“内部服务器错误”,它停止了我的春季应用程序。我想要创建一个异常,在那里它会捕捉到这个错误,并发出错误500,而不是停止我的应用程序。即使值错误,我也希望我的应用程序继续运行。误差 org.springframework.web.client.HttpServerErrorException: 500 Internal Servercontinue running but does not display the actual message that wou
我们有一个Jersey REST服务,REST客户端使用Spring的REST模板,有时我们注意到客户端从REST服务得到500内部服务器错误:
error: 500 Internal Server Error; nested exception is org.springframework.web.client.HttpServerErrorException: 500 Internal Server Error
我使用Rest模板来使用rest web服务,但是我总是得到500,尽管当我使用邮递员进行测试时我得到了200 下面是Rest模板代码: private String callWs(int pageRestTemplate错误: There was an unexpected error (type=Internal Server Error, status=500).
500 InternalServer Error: [Exception encountered, of type "ArgumentCountErro
org.springframework.messaging.MessagingException: failed to create Source for payload type [com.org.model.ClassName]
org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : "<Map><timestamp>2022-03-18T11:24:26.568+00:00</timestamp
com.myapp.resource.MyResource","level":"ERROR","stack_trace":"org.springframework.web.client.HttpServerErrorException: 500 Internal Server Error\n\t
at
return IntegrationFlows.from("subChannel") }org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : "No reply received within timeout"
我不知道哪里出了问题,有什么解决办法吗?