Re: Trouble running FOP: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/apps/Fop

2005-05-17 Thread Luca Furini
Jeremias Maerki wrote:

> I don't know if it helps anyone but I've just found a solution to a
> problem that has popped up from time to time on my machine when building
> FOP.

Wow, thanks, you saved me from madness!

Yesterday I was trying to merge my modified code back with HEAD and I
spent all afternoon wondering what could be wrong! 8-(

Regards
Luca





Trouble running FOP: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/apps/Fop

2005-05-16 Thread Jeremias Maerki
I don't know if it helps anyone but I've just found a solution to a
problem that has popped up from time to time on my machine when building
FOP. Sometimes, after building FOP, the only thing I would get after
invoking the FOP command-line was:

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/fop/apps/Fop

If you experience this comment out the following lines in build.xml,
delete build/fop.jar and rerun the FOP build:




(found in the "package" target)

I've no idea what the real problem is but at least I've got a
work-around. I thought I should share this.

Jeremias Maerki