Showing
1 changed file
with
1 additions
and
1 deletions
@@ -71,7 +71,7 @@ | @@ -71,7 +71,7 @@ | ||
71 | 71 | ||
72 | <!-- 启动SpringMVC的注解功能,完成请求和注解POJO的映射 --> | 72 | <!-- 启动SpringMVC的注解功能,完成请求和注解POJO的映射 --> |
73 | <mvc:annotation-driven> | 73 | <mvc:annotation-driven> |
74 | - <mvc:message-converters> | 74 | + <mvc:message-converters register-defaults="false"> |
75 | <ref bean="stringConverter" /> | 75 | <ref bean="stringConverter" /> |
76 | <ref bean="jsonConverter" /> | 76 | <ref bean="jsonConverter" /> |
77 | </mvc:message-converters> | 77 | </mvc:message-converters> |
-
Please register or login to post a comment