powered by Jive Software

Can´t use createChat() method


i try to use the createChat() method:

Chat chat = xmppConnection.createChat("jdoe@jabber.org")

here you can find my sourcecode and the error message:


what´s wrong ?

same problem with the API example:

// Create a connection to the jivesoftware.com XMPP server.

XMPPConnection con = new XMPPConnection(“jivesoftware.com”);

// Most servers require you to login before performing other tasks.

con.login(“jsmith”, “mypass”);

// Start a new conversation with John Doe and send him a message.

Chat chat = con.createChat("jdoe@jabber.org");

chat.sendMessage(“Hey, how’'s it going?”);


i have fix this problem with smack beta 3 .