Consider defining a bean of type ‘java.util.Map’ in your configuration.

如果你接收到的是Map的话,检查一下你的

这里的Map是不是写成了<String,String>
后面改成Object即可