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即可。
在这里插入图片描述

发布了144 篇原创文章 · 获赞 117 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/qq_41306364/article/details/103010035