我不能覆盖RESTapi中默认的spring启动错误响应。def result = new ResponseEntity<>(vo, HttpStatus.UNPROCESSABLE_ENTITY);然后在我的RESTapi中,我抛出了这个BusinessValidationException。这个处理程序被调用(我可以在调试器中看到它),但是我仍然收到默认的</e
我正在尝试使用spring-boot-starter-webflux和reactive Netty创建一个spring-boot-2restapi。我正在尝试按照Spring-Boot-2中定义的application.yml中定义的新属性来设置上下文路径。server.servlet.context-path: /api # Define the server context pat