You need to sign in to do that
Don't have an account?

create jar from wsdlc
hi ,
i have crate the jar file from wsdlc get the error "Exception in thread "main" java.lang.NoClassDefFoundError: org/stringtemplate/v4
/STGroupDir"
i have crate the jar file from wsdlc get the error "Exception in thread "main" java.lang.NoClassDefFoundError: org/stringtemplate/v4
/STGroupDir"
It sounds like you're missing a couple of libraries. Try adding them to (or correcting) your classpath.
Also, see the following link: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_quickstart_import_WSDLs.htm
You can download it from here: http://www.stringtemplate.org/
After that you need to add in the stringtemplate jas as parameter to your command.
Place the jar file to the location of your wsc.jar file and partner.wsdl file.
Your command would somehow be like this:
java -classpath wsc.jar;.\ST-4.0.8.jar com.sforce.ws.tools.wsdlc partner.wsdl .\partner.jar