• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSON over HTTP API Java encountering error and exceptions:java.lang.NoSuchFieldError: INSTANCE

 
Rinkoo Singh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written Java API to perform request/response of JSON over http using apacheHTTP client library, Code is enlisted below. It is encountering some errors and exceptions, Can you please provide pointers, How to fix it? I am jinxed with the problem. I am using Eclipse Mars, Sun Oracle Java 8, Apache Tomcat 7.0.52, Ubuntu 14.04 as base system to produce this code.





In my view is there some library/jar to be added to classpath, thats why this run time error is occurring, Does I am using wrong environment, Kindly suggest fixers?

The error and exceptions are :



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!