You need to sign in to do that
Don't have an account?
Julio Cesar Boll
Build partner.jar
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)
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)
All Answers
By the way, that error you received is actually the error you get if the jars are unavailable, like if you have moved to a different directory. Java won't tell you anything helpful like "The following jars in the classpath were not found:" or anything like that. :)
Thanks Hans, I found my problem...
My Maven was in 2.2.1 Version, I updated it to 3.3.9 and worked fine. Thanks for helping.