Error compiler

Hi all,

I have some errors when i use Ant Appache to compile Jive Mesenger project to Jar file(Messenger.jar).

I make unzip Messenger.jar(exist in Jive IM server). And copy classes files in Jive project . after that I use Ant to comile. But When i start server. it send errors:

java.lang.NoClassDefFoundError: org/jdesktop/jdic/tray/SystemTray

at org.jivesoftware.messenger.launcher.Launcher.(Launcher.java:43)

at org.jivesoftware.messenger.launcher.Launcher.main(Launcher.java:239)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.zerog.lax.LAX.launch(DashoA8113)

at com.zerog.lax.LAX.main(DashoA8113)

can you help me? thanks

I also try again, only copy OfflineMessageStore.class which i have some change on that. And i compile again. but it have the same result.

It seems that jdic.jar is not present in your classpath. Make sure that all the required JAR files are present in your classpath.

Regards,

– Gato

Hi Gaston,

thanks for your answer. I will try again.

Regards