SpringMVC controller belonging to the product, if controller configuration, it is necessary to configure the global exception class viewresolver.
The default controller is trying to return the result to the specified view parser, and then returns to the interface.
If you add another plus @responseBody, returns JSON results directly to the front desk, is equivalent to restController
restController belonging springboot product after return JSON default configuration to the foreground.