Spring 4: MappingJackson2HttpMessageConverter does not support application/javascript for jsonp
问题 Using Spring 4.1.6.RELEASE and Jackson libraries v2.5.4 Want to use JSONP in my REST Services using Spring 4; Spring 4 supports JSONP out of the box. CONFIGURATION <mvc:annotation-driven content-negotiation-manager="contentNegotiationManager"> ... </mvc:annotation-driven> Using contentNegotiationManager in following manner <bean id="contentNegotiationManager" class="org.springframework.web.accept.ContentNegotiationManagerFactoryBean"> <property name="defaultContentType" value="application