天天看点

SpringBoot启动报错The DispatcherServlet configuration needs to include a HandlerAdapter that supports th

There was an unexpected error (type=Internal Server Error, status=500). No adapter for handler [[email protected]]: The DispatcherServlet configuration needs to include a HandlerAdapter that supports this handler

后来发现是错误使用了@Controller,

@Controller("/path") 是无效的,要用@[email protected]("/path")代替

继续阅读