<mvc:annotation-driven>
<!-- Chinese garbled problem of returning json string when processing requests -->
<mvc:message-converters register-defaults="true">
<bean class="">
<constructor-arg value="UTF-8" />
</bean>
<!--Troubleshooting time zone issues-->
<bean class=".MappingJackson2HttpMessageConverter">
<property name="objectMapper">
<bean class="">
<!-- Handle the date type in responseBody -->
<property name="dateFormat">
<bean class="">
<constructor-arg type="" value="yyyy-MM-dd HH:mm:ss" />
</bean>
</property>
<!-- Time zone specification -->
<property name="timeZone" value="GMT+8" />
<!-- Not displayed when the field is null -->
<property name="serializationInclusion">
<value type="">NON_NULL</value>
</property>
</bean>
</property>
</bean>
</mvc:message-converters>
</mvc:annotation-driven>