POST提交,报以下异常,
"Could not read document: Unrecognized token 'userid': was expecting ('true', 'false' or 'null')↵
at[Source:org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@9e3d60d; line: 1, column: 19]
解决问题:
从报错信息上看,我传的ID是布尔值,可是我的ID是字符串,但是必须要转换成字符串才可以,所以下面的代码就转换了就OK了!