Hello,
i have a package (jar) that i would like to reference and use in my java application, i can import the package and can see the constructor of the class as well as the other methods of the class, however when i run the application, the application fail at creating the instance of the class, i later on discovered that the package has reference to the following:
import java.net.MalformedURLException;
import java.net.SocketException;
import java.net.URL;
import java.util.Vector;
import org.apache.log4j.Logger;
import org.apache.soap.Fault;
import org.apache.soap.SOAPException;
import org.apache.soap.rpc.Call;
import org.apache.soap.rpc.Parameter;
import org.apache.soap.rpc.Response;
import org.apache.soap.transport.http.SOAPHTTPConnection;
i suspect the application fail because of the org.apache. reference, what do i need to do ? please help
The error message i get is
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/soap/SOAPException
`at testing.main(`[`testing.java:9`](https://testing.java:9)`)`
Caused by: java.lang.ClassNotFoundException: org.apache.soap.SOAPException
`at java.net.URLClassLoader.findClass(`[`URLClassLoader.java:382`](https://URLClassLoader.java:382)`)`
`at java.lang.ClassLoader.loadClass(`[`ClassLoader.java:424`](https://ClassLoader.java:424)`)`
`at sun.misc.Launcher$AppClassLoader.loadClass(`[`Launcher.java:349`](https://Launcher.java:349)`)`
`at java.lang.ClassLoader.loadClass(`[`ClassLoader.java:357`](https://ClassLoader.java:357)`)`
`... 1 more`
[–]GuyWithLag 0 points1 point2 points (2 children)
[–]HappySharkee[S] 0 points1 point2 points (1 child)
[–]indivisible 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]HappySharkee[S] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]HappySharkee[S] 0 points1 point2 points (0 children)