ExceptionHandler returning JSON or XML not working in spring mvc 3

前端 未结 2 2011
谎友^
谎友^ 2020-12-28 23:52

code is like this:

   @Controller
    public class TestController {

        @RequestMapping(value = \"/testerror\", method = RequestMethod.GET)
        pub         


        
2条回答
  •  甜味超标
    2020-12-29 00:25

    Seems like a known Spring bug (Fixed in 3.1 M1)

    https://jira.springsource.org/browse/SPR-6902

提交回复
热议问题