Not found org.springframework.http.converter.json.MappingJacksonHttpMessageConverter

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Not found org.springframework.http.converter.json.MappingJacksonHttpMessageConverter相关的知识,希望对你有一定的参考价值。

  原因spring3跟spring4的jackson不一样。

  解决方案:

  1)spring3.x是org.springframework.http.converter.json.MappingJacksonHttpMessageConverter

  spring4.x是org.springframework.http.converter.json.MappingJackson2HttpMessageConverter

  2)添加依赖的包。

  <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-core</artifactId>
                <version>2.8.5</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-databind</artifactId>
                <version>2.8.5</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-annotations</artifactId>
                <version>2.8.5</version>
            </dependency>

  















以上是关于Not found org.springframework.http.converter.json.MappingJacksonHttpMessageConverter的主要内容,如果未能解决你的问题,请参考以下文章

Clion编译 报错 “wchar .h not found” “string .h not found”

ERROR_PATH_NOT_FOUND 与 ERROR_FILE_NOT_FOUND,有啥区别?

Resource not found高手进

command not found怎么办

vue: command not found

command not found怎么解决啊?