Announcement Announcement Module
Collapse
No announcement yet.
Spring JSON View: ApplicationObjectSupport does not run in an ApplicationContext Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring JSON View: ApplicationObjectSupport does not run in an ApplicationContext

    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:

    Code:
    java.lang.IllegalStateException: ApplicationObjectSupport instance [org.springframework.web.servlet.view.json.JsonView] does not run in an ApplicationContext
    The weird thing is that when I implement the Controller interface directly and do not inherit, it is fine.

    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?
    Last edited by lenniboy; Oct 21st, 2009, 03:33 PM.
Working...
X