Error while trying to use an API. java.lang.NoSuchFieldError: INSTANCE

后端 未结 4 947
北海茫月
北海茫月 2020-12-11 03:05

I am trying to connect to the smartsheet api using a java program. Initially I had problems with the site certificate which was resolved by adding it to the java keystore. N

4条回答
  •  伪装坚强ぢ
    2020-12-11 03:42

    I was using intellij for both android and spring development. In my case, I accidentally chose Android sdk as the module SDK.

    After choosing JDK 1.8 and rebuilding the project fixed the issue for me

提交回复
热议问题