老師,我用一般的瀏覽器,PostMapping和PutMapping的post方法都不行,換成RequestMapping也不行,是不是瀏覽器的問題
Failed to convert value of type [java.lang.String] to required type [java.lang.Integer]; nested exception is java.lang.NumberFormatException: For input string: "add"
Failed to convert value of type [java.lang.String] to required type [java.lang.Integer]; nested exception is java.lang.NumberFormatException: For input string: "add"
2017-12-11
舉報
2017-12-11
你這很明顯是說你的參數不能把spring轉換為integer類型