Anonymous - 2006-11-06

I downloaded the webharvest 0.3 zip file containing all the jars and source.

I unzipped them to c:\a on my Windows XP machine. The directory structure looks like
c:\a
c:\a\lib
c:\a\examples
c:\a\config
c:\a\source

I tried to run c:\a\webharvest03.jar as follows:
java -cp c:\a\lib\log4j-1.2.13.jar;c:\a\lib\commons-codec-1.3.jar;c:\a\lib\commons-collections-3.1.jar;c:\a\lib\commons-httpclient-3.0-rc3.jar;c:\a\lib\commons-logging.jar;c:\a\lib\ognl-2.6.9.jar;c:\a\lib\saxon8.jar;c:\a\lib\tagsoup-1.0.1.jar -jar webharvest03.jar config=c:\a\examples\canon.xml workdir=c:\a\output

But I get the NoClassDefFoundError message:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Prop
ertyConfigurator
at CommandLine.main(Unknown Source)

I checked the manifest.mf file in webharvest03.jar and all seem to be in order. I'm not sure what the problem is here. Can anybody shed some light on this? (I can dump all the jars into one directory and it will work, but I'm puzzled why the VM can't find the classes via -cp or -classpath parameters.)