HTTP415错误:如果controller中用到了json传值,那么就必须加入
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<jackson.version>2.5.2</jackson.version>
这个配置,否则controller无法处理json数据
HTTP415错误:如果controller中用到了json传值,那么就必须加入
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<jackson.version>2.5.2</jackson.version>
这个配置,否则controller无法处理json数据
转载于:https://www.cnblogs.com/mollie-x/p/10468933.html