• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 :



 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic