1 报错: java.security.KeyStoreException: java.security.NoSuchAlgorithmException: KeyStore jks implementation not found
原因: 需要SASL验证,取消掉此验证。代码:
[java] view plaincopy
configuration.setReconnectionAllowed(true);
configuration.setSecurityMode(ConnectionConfiguration.SecurityMode.disabled);
configuration.setSendPresence(true);
configuration.setSASLAuthenticationEnabled(false);
configuration.setRosterLoadedAtLogin(false);
2 无法登陆openfire 客户端
用户名是admin,不是admin@example.com
3 源代码地址 http://asmack.freakempire.de/0.8.1.1/
4 服务器上列表为空,更新mysql.jar
原因: 需要SASL验证,取消掉此验证。代码:
[java] view plaincopy
configuration.setReconnectionAllowed(true);
configuration.setSecurityMode(ConnectionConfiguration.SecurityMode.disabled);
configuration.setSendPresence(true);
configuration.setSASLAuthenticationEnabled(false);
configuration.setRosterLoadedAtLogin(false);
2 无法登陆openfire 客户端
用户名是admin,不是admin@example.com
3 源代码地址 http://asmack.freakempire.de/0.8.1.1/
4 服务器上列表为空,更新mysql.jar