我正在使用jersey + spring-boot来创建我的Web应用程序。当http请求使我的应用程序抛出运行时异常时,客户端总是会收到404(未找到)错误。我假设它应该返回505(内部错误)代码,但为什么它总是返回404代码。此外,当异常发生时,我将在服务器端下面的日志。你能让我知道我的申请有什么问题吗?我该如何调试呢?
o.glassfish.jersey.servlet.WebComponent : A servlet request to the URI http://localhost:8080/error contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.