I think you're missing a jar in there.  My call to FOP includes the
following -cp parameter:


I didn't see the path to the jimi-1.0,jar in your classpaths, and I'm not
sure what ant.jar is.  I guess including the path to jimi.jar would be my
first attempt.

Just out of curiosity, why aren't you using the fop.bat that comes in the
downloadable package?


                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]         
          >               cc:                                    
                                         Subject:     I get a mysterious 
                    10:43 AM                                                    
                    respond to                                                  

Hi, I'm new to the list.

I don't have any clue why this is happening to me. I've spent
the past 4 hours trying to figure this out. I stumbled onto a
similar error message in the archives here, and it helped me
realize I needed to add the classpaths, but I'm still having the
error. I'm using the latest version of FOP, with J2SDK 1.4.

C:\xsl\build>java -cp
-jar fop.jar -xml xmlfoRef.xml -xsl xml2pdf.xsl -pdf output.pdf
Exception in thread "main" java.lang.NoClassDefFoundError:
        at org.apache.fop.apps.Fop.main(

  I just don't get it, and I'm on the verge of going postal.
Thanx in advance for all help, guidance, or suggestions. BTW,
who do I send a message to about the FOP website and
documentation seriously needing to give workable examples of how
to run the program? It quite misled me and I nearly gave up on
it (but couldn't find another free XSL-FO renderer as an
alternative so I had to return to this stressful thing).


Do You Yahoo!?
Yahoo! Health - your guide to health and wellness

Reply via email to