Hi Joke,

The stack trace suggests that you need to add the log4j logging library jar 
file to your classpath.

http://logging.apache.org/log4j/1.2/download.html

Thanks,


Stuart


From: Joke Pol [mailto:joke....@dans.knaw.nl]
Sent: 17 April 2012 12:36
To: sword-app-tech@lists.sourceforge.net
Subject: [sword-app-tech] Demo client NoClassDefFoundError PropertyConfigurator

I downloaded sword-client-1.1.zip from 
http://sourceforge.net/projects/sword-app/files/SWORD%20Java%20Library/
Went to the unzipped directory and launched swordclient.sh

I have been playing with the classpath but keep getting the stack trace below. 
Anny suggestion what I might have overlooked?

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/log4j/PropertyConfigurator
        at org.purl.sword.client.ClientFactory.<init>(ClientFactory.java:56)
        at org.purl.sword.client.ClientFactory.main(ClientFactory.java:183)
Caused by: java.lang.ClassNotFoundException: 
org.apache.log4j.PropertyConfigurator
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 2 more


With kind regards,
Joke Pol

Developer
+31(0)6 201 055 18
joke....@dans.knaw.nl

Data Archiving and Networked Services (DANS)
DANS offers durable access to digital research data.
Please visit http://www.dans.knaw.nl for more information and contact details.
DANS is an institute of KNAW and NWO.



The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
sword-app-tech mailing list
sword-app-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sword-app-tech

Reply via email to