(Probably a newbie thing but for the next newbie that might run into this...) I was unable to run fop (0.20.5rc3a) using out-of-the-box fop.bat receiving a NoClassDefFoundError... After many failed attempts I finally traced it to the batch file itself: surrounding the %LOCALCLASSPATH% with " (quotes) fixed it for me!!! So the last line of fop.bat becomes java -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 This error will only surface when your classpath includes spaces (and probably some other special characters...) like mine did ('Documents and Settings'!... downloaded to personal directory...) I suggest including quotes (by default) in scripts where it might be an issue or making a note in the FAQ.
*** Bug 21555 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 21070 ***
batch transition to closed remaining pre-FOP1.0 resolved bugs