{
"timestamp": "2020-09-10T09:44:20.304+00:00",
"status": 500,
"error": "Internal Server Error",
"message": "",
"path": "/department/getAllDepartment"
}

使用了lombok的@Data后,postmen发送请求报错(错误如下)。把@Data去掉,写上Get Set就通了。为什么呢?
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-