15.Spring-Boot中使用AOP統一處理web層異常

在springboot錯誤默認是跳轉到 請求返回渲染路徑中的error/錯誤頁面中。 源碼分析:DefaultErrorViewResolver.java  private ModelAndView resolve(String viewName, Map<String, Object> model) { String errorViewName = "error/" + viewName; Te
相關文章
相關標籤/搜索