配置全局的异常捕获时,走ajax请求下面报错

来源:7-3 SpringBoot配置全局的异常捕获 - 同时兼容web与ajax

陌上落雪

2019-04-11 14:54

org.apache.catalina.core.StandardWrapperValve invoke

严重: Servlet.service() for servlet [dispatcherServlet] in context with path [/IMooc] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [err/getAjaxerror], template might not exist or might not be accessible by any of the configured Template Resolvers] with root cause

org.thymeleaf.exceptions.TemplateInputException: Error resolving template [err/getAjaxerror], template might not exist or might not be accessible by any of the configured Template Resolvers

https://img4.mukewang.com/5caee47f0001e44c05720050.jpg

写回答 关注

1回答

  • Destiny命运
    2019-04-11 16:30:24

    检查一下要跳转的页面路径对不对

SpringBoot开发常用技术整合

SpringBoot 极简开发的框架整合利器

102171 学习 · 508 问题

查看课程

相似问题