makk550 / dataloadercliq

Automatically exported from code.google.com/p/dataloadercliq
0 stars 0 forks source link

Java Exception thrown when trying to export (both command line and GUI) #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run ./cliq.sh or ./cliq.sh -t from wd
2. Choose option 1 (Export)
3. Enter any name for the operation

What is the expected output? What do you see instead?
Something other than the following output:

Configuring for operation: EXTRACT
Exception in thread "main" java.lang.NoClassDefFoundError: 
com/sforce/soap/partner/fault/ApiFault
    at com.salesforce.cliq.cliconfig.CliConfigFactory.getCliConfig(Unknown Source)
    at com.salesforce.cliq.cliconfig.CliConfigFactory.getCliConfig(Unknown Source)
    at com.salesforce.cliq.DataLoaderCliq.runTextUi(Unknown Source)
    at com.salesforce.cliq.DataLoaderCliq.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: 
com.sforce.soap.partner.fault.ApiFault
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    ... 4 more

What version of the product are you using? On what operating system?

2.2.0 - Mac OS X 10.9.5

Please provide any additional information below.

I saw there were two other similar issues but there doesn't seem to be any 
resolution.  I would love to know if I'm able to resolve this. 

Also tried testing version 2.3.0 with the same result. Have tried several 
versions of Java across several machines with no success.

Original issue reported on code.google.com by tgunder...@google.com on 5 Nov 2014 at 2:16

GoogleCodeExporter commented 8 years ago
AHHH! I figured out my issue. I structured my directories incorrectly.

The dataloader.jar needed to be one level up from the cliq folder. My apologies 
Vijay!

Original comment by tgunder...@google.com on 5 Nov 2014 at 3:42

GoogleCodeExporter commented 8 years ago
Good to hear - thanks for the update.

Original comment by vijay.swamidass@gmail.com on 5 Nov 2014 at 9:42