[org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver]-[DEBUG] Re

springmvc中规定以.html结尾的请求不会返回json数据

解决方法配置两个入口

如:


    abc
    *.html
 

 
    abc
    /service/*
 

你可能感兴趣的:([org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver]-[DEBUG] Re)