I created a chat program using the Smack libraries and when I integrated it into a larger program my company is working on, I get this compiling error:
The type javax.net.SocketFactory cannot be resolved. It is indirectly referenced from required .class files[/code]
I am clueless as to what this is referring to. This is the only thing that is causing the program not to compile.
EDIT:
Here is a part of my code. I get a compile error at
con = new XMPPConnection(“im167”,5222);
Interestingly enough, if I just have the host it compiles fine, but I need the port number.
XMPPConnection con= null;
try {
con= new XMPPConnection(“im167”,5222);
con.login(“test”, “test”);
textarea.append(“Connection Successful\n”);
}catch (XMPPException e) {
e.getXMPPError();
}[/code]
Message was edited by: PhilCDM