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

后端 未结 4 948
北海茫月
北海茫月 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:35

    Other posts about this error seem to suggest that it's typically caused by conflicting versions of httpcore jar. i.e., an older version of httpcore on the classpath.

    For more information, I'd suggest you checkout the following posts:

    • java.lang.NoSuchFieldError: org.apache.http.message.BasicLineFormatter.INSTANCE from Mashape Unirest in Java application

    • java.lang.NoSuchFieldError: INSTANCE

提交回复
热议问题