springboot2.0处理自定义异常始终返回json 参考文章: (1)springboot2.0处理自定义异常始终返回json (2)https://www.cnblogs.com/ifme/p/11921848.html 备忘一下。