powered by Jive Software

XMPPConnection.DEBUG_ENABLED creating error


this statement causes the following error.

Exception in thread “main” java.lang.NoClassDefFoundError: javax/xml/transform/T


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.

Ya i found the cause. i had been using jdk1.3 . when i ran with jdk1.5 the debugging window came and it dint give any errors. think javax/xml/transform/T

ransformerException class implementation is not in in jdk1.3.