I have physically copy xmlrpc-client-3.1.3.jar to./lib,then right click on it to select "Build Path>Add Path".
On Menu Bar,select Project >Properties>Java Build Path.
On "Libraries" tab ,xmlrpc-client-3.1.3.jar found and "Order and Export" tab has checked on xmlrpc-client-3.1.3.jar-XXX/lib
By the time,I code as below
import org.apache.xmlrpc.client.XmlRpcClient;
import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
public class someClass{
....
XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
config.setServerURL(new URL("http://somedomain.com/index.php/api/xmlrpc/"));
}
I get the error
- The type org.apache.xmlrpc.common.XmlRpcHttpRequestConfigImpl cannot be resolved. It is indirectly referenced from required .class files
I use eclipse on project development