First line has the clue
java.lang.ClassCastException: org.springframework.web.servlet.ModelAndView cannot be cast to java.lang.String looks like the action methods causing this error are returning ModelAndView object where as
String is expected. check the return type and return statements of these methods.