springboot异常处理

  前言 在springboot项目中,一般我们访问不存在的资源或内部服务报错,会报下面的异常页面,这是springboot为我们定制的异常页面, 404 定义一个项目,加入依赖: <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <arti
相关文章
相关标签/搜索