postman測試方法的 時候總是出現狀態碼500
阿新 • • 發佈:2018-07-23
intern 映射 lock from internal ror 婚姻 lan bar postman測試方法的 時候總是出現狀態碼500
{
"timestamp": "2018-07-23T05:43:51.773+0000",
"status": 500,
"error": "Internal Server Error",
"message": "could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement",
"path": "/tag/delete"
}
註意返回值為對象的話 ,需要在映射前面加註解@ResponseBody
@ResponseBody
status [‘ste?t?s] 詳細X
基本翻譯
n. 地位;狀態;情形;重要身份
網絡釋義
Status: 狀態
marital status: 婚姻狀況
status bar: 狀態欄
postman測試方法的 時候總是出現狀態碼500