I'm trying to use the Spring Json View (org.springframework.web.servlet.view.json.JsonVie w) but whenever I use a class that extends AbstractController I get the following Error:
The weird thing is that when I implement the Controller interface directly and do not inherit, it is fine.Code:java.lang.IllegalStateException: ApplicationObjectSupport instance [org.springframework.web.servlet.view.json.JsonView] does not run in an ApplicationContext
In my current case though I would like to extend AbstractFormController and hence can't write a class that does not inherit from AbstractController.
Any ideas?


Reply With Quote