解决方法:原来是服务器中的 response.getWriter().append("Served at: ").append(request.getContextPath());这句话需要删除,否则的话将会把Served at 输入到回应体中,所以Gson不能识别,将上面那句话删除即可