访问报错 HTTP Status 500 - No adapter for handler

访问报错HTTP Status 500 - No adapter for handler [[email protected]]: The DispatcherServlet configuration needs to include a HandlerAdapter that supports this handler


是因为使用注解时,需要添加@Controller,而不使用注解时需要实现Controller接口,使得前端控制器能找到HandlerAdapter 处理该handle路径



相关文章:

  • 2021-07-07
  • 2022-12-23
  • 2021-10-29
  • 2021-07-08
  • 2021-10-01
  • 2021-08-29
  • 2021-08-22
  • 2022-12-23
猜你喜欢
  • 2021-12-05
  • 2021-05-31
  • 2021-06-08
  • 2021-09-06
  • 2021-10-15
  • 2021-11-11
  • 2021-05-08
相关资源
相似解决方案