记录一下:DEBUG DispatcherServlet:1076 - Null ModelAndView returned to DispatcherServlet with name ‘springmvc’: assuming HandlerAdapter completed request handling 问题出现的一种可能原因

记录一下:DEBUG DispatcherServlet:1076 - Null ModelAndView returned to DispatcherServlet with name ‘sprin

今天在调试移动端展示静态页面时的报错,返回时不显示静态页面.打断点调试时,前端可以接受数据,没有问题.
后端的方法执行时,也有数据,方法也可以调用.

前前后后找了好久,才发现是方法调用时,自动注入的路径在复制时粘贴错误:
记录一下:DEBUG DispatcherServlet:1076 - Null ModelAndView returned to DispatcherServlet with name ‘sprin用IDEA打开文件地址复制过来时,地址错误如下:

记录一下:DEBUG DispatcherServlet:1076 - Null ModelAndView returned to DispatcherServlet with name ‘sprin最后把地址末尾改成_mobile/src/main/webapp/pages 加入**/**后就解决了!

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
  • 2021-06-25
  • 2021-06-14
  • 2021-09-06
  • 2021-10-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
  • 2022-01-02
  • 2021-12-05
  • 2021-08-11
  • 2021-09-27
相关资源
相似解决方案