• Elango Vee
  • NEWBIE
  • 20 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi,

The bulk API example code: https://developer.salesforce.com/docs/atlas.en-us.200.0.api_asynch.meta/api_asynch/asynch_api_code_set_up_client.htm

The documentation says you need only partner.jar and wsc.jar.
Yet, when I compile the code I get the error...related to some JSON parsing library

Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/jackson/ObjectCodec
at BulkExample.getBulkConnection(BulkExample.java:177)
at BulkExample.runSample(BulkExample.java:28)
at BulkExample.main(BulkExample.java:19)
Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.ObjectCodec
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 3 more

Any help would be greatly appreciated...
 
Hi,

The bulk API example code: https://developer.salesforce.com/docs/atlas.en-us.200.0.api_asynch.meta/api_asynch/asynch_api_code_set_up_client.htm

The documentation says you need only partner.jar and wsc.jar.
Yet, when I compile the code I get the error...related to some JSON parsing library

Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/jackson/ObjectCodec
at BulkExample.getBulkConnection(BulkExample.java:177)
at BulkExample.runSample(BulkExample.java:28)
at BulkExample.main(BulkExample.java:19)
Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.ObjectCodec
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 3 more

Any help would be greatly appreciated...