HTTP415错误:如果controller中用到了json传值,那么就必须加入
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<jackson.version>2.5.2</jackson.version>
这个配置,否则controller无法处理json数据
mollie-x 2019-03-04 09:35 原文
HTTP415错误:如果controller中用到了json传值,那么就必须加入
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<jackson.version>2.5.2</jackson.version>
这个配置,否则controller无法处理json数据