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>startup

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

i4jruntime.jar;…/.install4j/user.jar;…/lib/spark.jar;…/lib/base.jar;…/lib/sm

ack.jar;…/lib/windows/jdic.jar;…/lib/smackx.jar;…/lib/smackx-debug.jar;…/lib

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

tware.Spark

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

/DocumentException

at org.jivesoftware.Spark.(Spark.java:38)

at org.jivesoftware.Spark$1.run(Spark.java:128)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh

read.java:242)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre

ad.java:163)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

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.

-Derek

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