我想用java銷售團隊爲我試圖產生partner.jar整合,我以下鏈接不能產生Partner.jar
Introduction to the Force.com Web Services Connector
我使用合作伙伴WSDL API。我堅持生成Partner.jar文件,
這裏需要一些幫助.. !!
我正在使用命令我的命令是** java -classpath J:\ Practice \ force-wsc-36.1.1.jar com.sforce.ws.tools.wsdlc J:\ Practice \ Partner.wsdl。 \ partner.jar 現在的例外是
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/stringtemplate/v4
/STGroupDir
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetMethodRecursive(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.validateMainClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.stringtemplate.v4.STGroupDir
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)