1
沒有數據,這是我定義的路由:此GET requset
GET /user/:id controllers.Users.show(id: Long)
玩!框架:收到
這是處理程序(在Users
類):
public static Result show(long id) {
return ok("hello " + id);
}
我得到這個錯誤:
No data received Unable to load the webpage because the server sent no data. Here are some suggestions: Reload this webpage later. Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
這很奇怪,因爲它是唯一一個有這個問題的頁面,一切似乎都很正常。
那麼爲什麼會發生?
親愛的耶穌......我怎麼能錯過?謝謝 – socksocket