Exception
HEshenghuxi
这个作者很懒,什么都没留下…
展开
-
NumberFormatException异常
问题:java.lang.NumberFormatException: For input string: “39840.000000”Integer.valueOf(String.valueOf(list.get(0).get("money")))String 的 “39840.000000” 不能直接使用 Integer 转换Double.valueOf(String.valueOf...原创 2019-05-14 09:19:28 · 2024 阅读 · 0 评论 -
Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported
Content type ‘application/x-www-form-urlencoded;charset=UTF-8’ not supported这种错误 一般是 ajax 向后端传数据时出现的无论是 post 还是get 传输 都会出现这种格式问题将 ajax 传输格式 为 contentType: “application/json”,就可以了后端 使用post 传输的加上 @R...原创 2019-05-22 15:48:26 · 8502 阅读 · 0 评论