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

Enterprise4.0 compile
Hello I not sure want I am doing wrong but, but i havent been able to make the enterprise 4.0 example run.
When I run it form the Sample directory it gives me wrong name error o something like that.
I tryed to run it from the bin directory with command "java com.salesforce.sample.Sample " but I get this error
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/ax
ault
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
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)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
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)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
I am new in Java, and I am not sure if I have missed something or maybe I am not declaring the classpath well. Where can I Start to check ?
Thanks for the help. I will appreciate a hand on this.
Regards
onthebeach
Sorry, I am quiet sure I am not doing that step right. How do I inlcude thoses files in my classpath ?
I have a directory named axis and within it a bin where I can find the jar files, but where do I inlcude them, I am separted file ? in widows enviroment variables ? where ?
Lots of thanks
TRF
Or, you could pass this parameter to "java" on the command line: -Djava.ext.dirs=/path/to/jars/. I like this method because it sucks up any jar in the directory you provide.
onthebeach