• Phillip Webb's avatar
    Ensure ErrorControllers work when using AOP · cfbac208
    Phillip Webb authored
    Add a BeanFactoryPostProcessor to set PRESERVE_TARGET_CLASS_ATTRIBUTE
    to true on all ErrorController bean definitions. Without this attribute
    AOP advice on @Controllers causes ErrorController beans to be created
    as JDK proxies (since they implement a single valid looking interface)
    and therefore not get found by Spring MVC.
    
    Fixes gh-4236
    cfbac208
Name
Last commit
Last update
..
src Loading commit data...
pom.xml Loading commit data...