xmpp中无法识别java登录方法
我正在尝试用安卓中的smack库连接openfire服务器。但是登录方法中出现了错误
public void performLogin(String username, String password) throws XMPPException {
if (connection!=null && connection.isConnected()) {
connection.login(username, password);
}
}
错误是
The method login(String, String) from the type XMPPConnection refers to the missing type SaslException
这里有什么问题
共 (0) 个答案