XMPPConnection.DEBUG_ENABLED=true;
this statement causes the following error.
Exception in thread “main” java.lang.NoClassDefFoundError: javax/xml/transform/T
ransformerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at org.jivesoftware.smack.XMPPConnection.init(XMPPConnection.java:723)
at org.jivesoftware.smack.XMPPConnection.(XMPPConnection.java:143)
at org.jivesoftware.smack.XMPPConnection.(XMPPConnection.java:111)
at p.main(p.java:18)
someone do help… has some package or jar file has to be included? Without that line sending and receiving messages is working fine.