I am working on a big size Spring MVC project , The application is loading a set of JS files ,
some of these JS files throw 500 error in the browser , when i type the url that is related to the JS files that are failing on the browser i got this error :
Any suggestions about the root cause of this problem
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.
All desirable things in life are either illegal, banned, expensive or married to someone else !!!