JSONException: A JSONObject text must begin with '{' at character 0報錯解決

Spring boot 項目報錯

JSONException: A JSONObject text must begin with ‘{’ at character 0

在這裏插入圖片描述

創建項目可能出錯的原因

  1. URL不安全。
  2. 網不好。
    網不好多試幾次就行。

URL問題解決辦法

將http改成https即可。
在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章