springboot项目提示No converter found for return value of type:

        <!--json-->
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-core</artifactId>
            <version>2.9.9</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-annotations</artifactId>
            <version>2.9.9</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
            <version>2.9.9</version>
        </dependency>

  导入以上jar包,解决问题!

来源:https://www.jianshu.com/p/a6f35524dc25

上一篇:Java-JSON乱码(Jackson)处理


下一篇:HttpClient4.5 入门