Thank you very much: Tan Zhuo Blog
Springmvc4 JSON
SPRINGMVC4 Integrated Hibernate4 appears
Noclassdeffounderror:com/fasterxml/jackson/core/jsonprocessingexception
The configuration of the Springmvc4 JSON has changed:
1 <Bean2 class= "Org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">3 < Propertyname= "Messageconverters">4 <List>5 <refBean= "Mappingjackson2httpmessageconverter" />6 </List>7 </ Property>8 </Bean>9 <BeanID= "Mappingjackson2httpmessageconverter"Ten class= "Org.springframework.http.converter.json.MappingJackson2HttpMessageConverter"> One < Propertyname= "Supportedmediatypes"> A <List> - <value>Text/html;charset=utf-8</value> - <value>Text/json;charset=utf-8</value> the <value>Application/json;charset=utf-8</value> - </List> - </ Property> - </Bean>
The JSON packages used are:
Jackson-annotations-2.5.0.jar
Jackson-core-2.5.0.jar
Jackson-databind-2.5.0.jar
:
Link: Http://pan.baidu.com/s/1mg5RCgS Password: FJS9
Reprint Please specify: Tan Zhuo Blog»springmvc4 com/fasterxml/jackson/core/jsonprocessingexception
Springmvc4 com/fasterxml/jackson/core/jsonprocessingexception