1
What are the necessary dependencies for the following libraries?
import java.io.StringReader;
import java.net.Authenticator;
import java.net.PasswordAuthentication;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.soap.MessageFactory;
import javax.xml.soap.MimeHeaders;
import javax.xml.soap.SOAPBody;
import javax.xml.soap.SOAPConnection;
import javax.xml.soap.SOAPConnectionFactory;
import javax.xml.soap.SOAPElement;
import javax.xml.soap.SOAPEnvelope;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPMessage;
import javax.xml.soap.SOAPPart;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.Source;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMResult;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;
Libraries downloaded correctly, and now what? :runErro: Could not find or load the main class Loadwebservice FAILED FAILURE: Build failed with an Exception. * What Went Wrong: Execution failed for task ':run'. > Process 'command 'C: Program Files Java jdk1.8.0_162 bin java.exe'' finished with non-zero Exit value 1
– Eduardo Weise
@Eduardoweise That from there appears to be another different mistake, I think (I’m not sure) that means he didn’t find the class
LoadWebService
which would be the main class (the one with thepublic static void main(String[] args)
). I recommend that you post another question and put the full code of your Gradle configuration file in it.– Victor Stafusa