I'm following the instruction on Trailhead.
When I tried with the enterprise.wsdl
I was able to generate the enterprise.jar
using force-wsc-37.0.jar
, js-1.7R2.jar
and ST-4.0.8.jar
.
Now I'm trying to generate the partner.jar
but I'm getting this error:
Error: Not possible to find neither load the main class com.salesforce.ws.tools.wsdlc
I used the same command line to Enterprise and Partner. ($ java -classpath force-wsc-37.0.jar:js-1.7R2.jar:ST-4.0.8.jar com.sforce.ws.tools.wsdlc partner.wsdl partner.jar
)
classpath
? It looks like you have the Rhino library as detailed in Building the Partner.jar API file.jar
files are in the same classpath, then I just go into the folder bycd example
and try to run the command line