在网上找的许多方法如下
方法一 在spring-mvc.xml中手动配置jackson的HttpMessgaeConverter 方法二 在pom中配置jackson包方法三 根据spring版本调整jackson的版本,我的是spring5.3.15可以使用jackson2.13.1 ~~~~~~~~~ 采用以上诸多方法仍不奏效,错误原因依然没有发生改变。怀疑jackson包根本没有成功配置,最后F4打开项目模块设置中发现jackson并没有被编译输出,添加即可。2.13.1 com.fasterxml.jackson.core jackson-core ${jackson-version} com.fasterxml.jackson.core jackson-databind ${jackson-version} com.fasterxml.jackson.core jackson-annotations ${jackson-version}


![NO converter for [xxxx] with preset Content-Type ‘null‘问题解决方法 NO converter for [xxxx] with preset Content-Type ‘null‘问题解决方法](http://www.mshxw.com/aiimages/31/885894.png)
