No HttpMessageConverter for java.util.HashMap and content type “application/json“

No HttpMessageConverter for java.util.HashMap and content type “application/json“_第1张图片
如果响应类型就是application/json,那么就是缺少一个jackson的依赖

<dependency>
    <groupId>com.fasterxml.jackson.coregroupId>
    <artifactId>jackson-databindartifactId>
    <version>2.9.7version>
dependency>

你可能感兴趣的:(#,开发中遇到的臭虫,json,java,后端)