Struts2 session bean and Container.setScopeStrategy exception
posted 6 years ago
I'm using Struts2 and the built-in dependency injection. I have a bean defined in struts.xml:This POJO bean is currently injected into an action class via:
I then tried to make sure the bean contents persisted for the session, so I modified the declaration:Now when the code starts up, I get the following exception:
At this point I'm thoroughly confused by the error message, including what "Container" is referenced. Suggestions please? Thanks.