表现:![](https://img-blog.csdnimg.cn/20200924211444484.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzI1NjQxMDIz,size_16,color_FFFFFF,t_70)
解决办法:
遇到的坑:
坑一:java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
解决方案: 参考https://blog.csdn.net/weixin_34041003/article/details/86233497
坑二: Cannot call sendRedirect() after the response has been committed解决方法
解决方案:参考https://www.cnblogs.com/annofyf/p/9494548.html
拓展
参考
SpringBoot如何在webapp下直接访问html,jsp