powered by Jive Software

Can´t use createChat() method

hi,

i try to use the createChat() method:

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

here you can find my sourcecode and the error message:

http://img107.imageshack.us/my.php?image=screenshotos5.png

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?”);

http://www.igniterealtime.org/issues/browse/SMACK-183

i have fix this problem with smack beta 3 .