{"comment":{"url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/comments/9361248","html_url":"https://github.com/BroadleafCommerce/BroadleafCommerce/commit/1c250f0841a87f89a5620378e1799596fc5a59d4#commitcomment-9361248","id":9361248,"user":{"login":"phillipuniverse","id":684275,"avatar_url":"https://avatars.githubusercontent.com/u/684275?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipuniverse","html_url":"https://github.com/phillipuniverse","followers_url":"https://api.github.com/users/phillipuniverse/followers","following_url":"https://api.github.com/users/phillipuniverse/following{/other_user}","gists_url":"https://api.github.com/users/phillipuniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipuniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipuniverse/subscriptions","organizations_url":"https://api.github.com/users/phillipuniverse/orgs","repos_url":"https://api.github.com/users/phillipuniverse/repos","events_url":"https://api.github.com/users/phillipuniverse/events{/privacy}","received_events_url":"https://api.github.com/users/phillipuniverse/received_events","type":"User","site_admin":false},"position":32,"line":42,"path":"core/broadleaf-framework-web/src/main/java/org/broadleafcommerce/core/web/api/RestExceptionMapper.java","commit_id":"1c250f0841a87f89a5620378e1799596fc5a59d4","created_at":"2015-01-20T18:18:34Z","updated_at":"2015-01-20T18:18:34Z","body":"I'm a little curious as to this still working even in the root applicationContext. Usually by definition, if you put anything in the root applicationContext then it will apply to both servlets, or not work at all. I think that you have to segregate this bean to the REST servlet.\r\n\r\nI'm not really sure what will happen in this case. You can test by throwing some random exception in a controller in site and see if it actually gets into this exception handler."}}