1
헤로인 API는 다음 품목 -없는 (404)의 예외를 발생
Iterator i = MultiUserChat.getJoinedRooms(connectionManager.getXMPPConnection(), "[email protected]");
while(i.hasNext()) {
System.out.println(i.next());
}
헤로인 API는 다음 품목 -없는 (404)의 예외를 발생
Iterator i = MultiUserChat.getJoinedRooms(connectionManager.getXMPPConnection(), "[email protected]");
while(i.hasNext()) {
System.out.println(i.next());
}
알아 낸 코드를이다. 서비스를/Smack으로 지정해야합니다.
Iterator i = MultiUserChat.getJoinedRooms(connectionManager.getXMPPConnection(), "[email protected]/Smack");
발견. 코드에는'main (String [])'메소드가 포함되어 있지 않습니다. 또한,'connectionManager'는 결코 초기화되지 않으며 클래스 내에 포함되지 않습니다. – Ironcache
좋습니다. connectionManager가 초기화되었습니다. 코드에 언급되지 않았습니다. – DulTen