前些天發現了一個巨牛的人工智能學習網站,通俗易懂,風趣幽默,忍不住分享一下給大家。點擊跳轉到教程。
1. 我的情況 :
springcloud 實踐,啟動 ribbon 工程后,請求接口報錯:
Whitelabel Error Page
This application has no explicit mapping for /error,
so you are seeing this as a fallback.
Tue Jul 23 17:39:14 CST 2019
There was an unexpected error (type=Internal Server Error, status=500).
I/O error on GET request for "http://client-one/seeParam": client-one;nested exception is java.net.UnknownHostException: client-one
2. 原因? Language? level 設置有誤。
3. 項目 JDK 為1.8 ,故應該設置?Language? level 為 8 :
4. 重啟工程,重新注冊,消費服務成功。請求接口正常。