Closed TheLouisHong closed 10 years ago
<annotation-driven> <message-converters> <beans:bean class="org.springframework.http.converter.json.MappingJackson2HttpMessageConverter"> <beans:property name="objectMapper"> <beans:bean class="com.knappsack.swagger4springweb.util.ScalaObjectMapper"/> </beans:property> </beans:bean> </message-converters> </annotation-driven>
It's best if it's mvc:annotation-driven instead of assuming it's the defualt namespace
It's best if it's mvc:annotation-driven instead of assuming it's the defualt namespace