[ http://issues.apache.org/struts/browse/WW-1285?page=comments#action_37474 ]
Chris Mountford commented on WW-1285: ------------------------------------- On second thought I don't think I've completely understood the problem here. There's clearly a type problem, but it's probably not a 1.4 / 1.5 thing as I first assumed. Clearly there is a non-generic Map in Java 1.5, but for some reason the compilation of ActiveCategory and SetActiveCategory is assuming SessionAware.setSession(Map) reference to Map in the webwork.jar file refers to the generic Map<K,V>. Any ideas about the quickstart compilation mechanism? I wonder if this is a general problem only currently borne out by the shopping-cart example? Don (or anyone else) if you can suggest something I can download or change to make this example work I'd be happy and grateful. > Quickstart doesn't work with Shopping Cart app > ---------------------------------------------- > > Key: WW-1285 > URL: http://issues.apache.org/struts/browse/WW-1285 > Project: Struts Action 2 > Type: Bug > Components: Examples > Reporter: Don Brown > Assignee: Don Brown > Fix For: 2.0.0 > > Quickstart won't deploy the Shopping Cart webapp due to several compilation > errors: > error:org/apache/struts/action2/example/ajax/actions/SetActiveCategory.java > (32:1049) : The type SetActiveCategory must implement the inherited abstract > method SessionAware.setSession(Map) > error:org/apache/struts/action2/example/ajax/actions/ActiveCategory.java > (33:1150) : The type ActiveCategory must implement the inherited abstract > method SessionAware.setSession(Map) > The strange thing is the aforemented classes do have a setSession(Map) > method. Any ideas? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
