[ 
https://issues.apache.org/struts/browse/WW-3230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wes Wannemacher resolved WW-3230.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.8
         Assignee: Wes Wannemacher

thanks for the patch Rich

> StrutsSpringObjectFactory throws a ClassCastException when the 
> ApplicationContext doesn't create properly.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: WW-3230
>                 URL: https://issues.apache.org/struts/browse/WW-3230
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Spring
>            Reporter: Richard Burton
>            Assignee: Wes Wannemacher
>            Priority: Minor
>             Fix For: 2.1.8
>
>         Attachments: 
> Implemented_logic_that_checks_the_return_value_of_the_ServletContext#getAttribute(String).patch
>
>
> When Spring fails to create the ApplicationContext, the 
> ServletContext#getAttribute(String) returns the exception that was thrown 
> instead of an ApplicationContext.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to