Failed to convert value of type java.lang.String to required type long

{“code”:400,“msg”:“Failed to convert value of type ‘java.lang.String’ to required type ‘long’; nested exception is java.lang.NumberFormatException: For input string: “edit””,“data”:null}
突然出现这个报错的原因在于
你在postman中用错了方法,springboot接口请求地址是post方法,你却用了get方法。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章