Hi,

I also got the same error but when I make sure that the "fop.sh" file was in
my path and I was able to convert the .xml documents to pdf file.  In my
case when it didn't find "fop.sh" that's where I got the error and when I
gave the full path to "fop.sh" I didn't get the error.

The syntax that I was running was as follows.

./fop.sh docs/firstdoc.xml docs/mike.pdf

I hope this helps.

Mike

-----Original Message-----
From: Hojtsy Gabor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 1:08 PM
To: [EMAIL PROTECTED]
Subject: Re: FOP NoClassDefFound


> I am trying out FOP for the PHP project to generate
> PDF docs from our XML sources. But I get the following
> error:
> 
>   Exception in thread "main" java.lang.NoClassDefFoundError:
>   org/apache/stylebook/StyleBook
> 
> Is there something missing from my distro?
> 
> I am trying FOP 0.19.0CVS (binary version).

Sorry for bothering you, now it is solved. Although
you should palce a fop.bat inside the bin distro too,
as mentioned on the Running FOP page. There is no
fop.bat actually now.

[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to