Plz help me to execute spark

I build the spark code first using ant. After that i wish to execute it and for this i did following things in command prompt and getting the errors. can any one help me here ?


C:\Spark2\target\build\bin>java -Ddebug.mode=true -Dappdir=… -cp …/.install4j/



/activation.jar;…/lib/mail.jar;…/lib/filetransfer.jar;…/resources org.jivesof


Exception in thread “AWT-EventQueue-0” java.lang.NoClassDefFoundError: org/dom4j


at org.jivesoftware.Spark.(

at org.jivesoftware.Spark$

at java.awt.event.InvocationEvent.dispatch(

at java.awt.EventQueue.dispatchEvent(

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre

at java.awt.EventDispatchThread.pumpEvents(

at java.awt.EventDispatchThread.pumpEvents(


According to cyclone “You’'re missing the dom4j.jar in your classpath.”

Anyhow a good start to post the same Q three times in the forum.

Hi Rita,

Just do an SVN update and use the startup.bat file from svn. It’'s all good to go.


yes cyclone’'s reply solved my problem. Sorry for posting this question twice in this forum. I mistakenly post this message twice.

thanks to all of u