We are migrating from spring 4.x to spring 5.2.13 version. In spring 4 this was working but in spring 5.x we are getting the below error for dispatcher servlet

> 
> javax.servlet.ServletException: No adapter for handler : The DispatcherServlet configuration needs to include a HandlerAdapter that supports this handler
> at
> 
> 
> 

Can anyone help me , what i am missing here?
I am migrating from spring 4.x to spring 5.2.13