问题标签 [handlerexceptionresolver]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
70 浏览

java - Spring boot API RESTful:请求的错误处理问题

我正在使用 Spring Boot 构建一个 RESTful API,但是当我尝试处理有关请求的错误时遇到了问题。

GetUserById(代码):

UserIntrouvaleException(代码):

错误 :