This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.