No converter found for return value of type: class org.json.JSONArray
在使用SSM获取JSON数据时,或许我们在控制层会对取的的数据进行JSON转换,其实这一步对于我们来说是多余的,因为springMVC提供了一种更为简便的方法@responseBody注解方式来实现json的输出,SpringMVC通过已定义的转化器做转化输出,默认输出json。
出现No converter found for return value of type: class org.json.JSONArray的解决办法
猜你喜欢
转载自blog.csdn.net/GJ454221763/article/details/89407045
今日推荐
周排行