You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Meena <me...@wipro.com> on 2002/02/22 10:58:25 UTC

FOP0.20.3

Hi,
I tried using fop0.20.3. But while using the batch file, i'm getting the following error. What could be the reason?

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

regds
Meena


Re: FOP0.20.3

Posted by Fischer Tibor <fi...@freemail.hu>.
i had the same bug with fop0.20.3, so i use fop0.20.1 instead, and that's ok

Fishy

Meena wrote:

> Hi,
>
> I tried using fop0.20.3. But while using the batch file, i'm getting 
> the following error. What could be the reason?
>
>  
>
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/fop/apps/Fop
>
>  
>
> regds
>
> Meena
>
>  
>
>
>------------------------------------------------------------------------
>
>**************************Disclaimer************************************
>      
>
>
>Information contained in this E-MAIL being proprietary to Wipro Limited
>is 'privileged' and 'confidential' and intended for use only by the
>individual or entity to which it is addressed. You are notified that any
>use, copying or dissemination of the information contained in the E-MAIL
>in any manner whatsoever is strictly prohibited.
>
>
>
> ********************************************************************
>



Re: FOP0.20.3

Posted by Christian Geisert <ch...@isu-gmbh.de>.
Meena wrote:

> Hi,
> 
> I tried using fop0.20.3. But while using the batch file, i'm getting the 
> following error. What could be the reason?


Which OS are you using?

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

Christian


Re: FOP0.20.3

Posted by Chuck Paussa <Ch...@systems.dhl.com>.
Markers are broken in Fop-0.20.3rc2 the presence of an fo:marker tag --> 
error
I don't know if this should be entered as a bug since markers were not 
completely implemented previously

[INFO]: FOP 0.20.3rc
[INFO]: building formatting object tree
[ERROR]: null

Here is the sample test.fo

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

<fo:layout-master-set>
<fo:simple-page-master
master-name="simple"
margin-top="1in"
margin-right="1in"
margin-left="1in"
margin-bottom="1in">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="simple">
<fo:flow flow-name="xsl-region-body">
<fo:block><fo:marker marker-class-name="entry">One</fo:marker>
this is a test this is a test this is a test this is a test this is a 
test this is a test this is a test this is a test
</fo:block>
</fo:flow></fo:page-sequence></fo:root>

Chuck Paussa


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: markers

Posted by Chuck Paussa <Ch...@systems.dhl.com>.
I think that Markers are completely broken in Fop-0.20.3rc2. I've posted 
a bug to bugzilla on it

[INFO]: FOP 0.20.3rc
[INFO]: building formatting object tree
[ERROR]: null

Chuck Paussa


Re: FOP0.20.3

Posted by Christian Geisert <ch...@isu-gmbh.de>.
Carlos wrote:

> Did you put fop.jar on your classpath? I find this is still necessary


No, it shouldn't be necessary. Which OS are you using?

> Carlos E. Araya

Christian


Re: markers

Posted by Chuck Paussa <Ch...@systems.dhl.com>.
OK. I've tracked down the source of the message

[ERROR]: fo:marker must be an initial child,and 'marker-class-name' must 
be unique for same parent

If there is any space or line-feeds between the <fo:block> and 
<fo:marker> tags, then the fo:block's initial child is that space or 
line-feed character data
You can get this in your intermediate fo output if, in the xsl, you have
<xsl:output method="xml" indent="yes"/> or method="html" etc.
or
<xsl:output method="xml"/> (default indent="yes")

Therefore marker usage requires that you use indent="no" in your 
xsl:output statement

Then in the stylesheet you need to have

<fo:block><fo:marker marker-class-name="whatever">

So that the style sheet doesn't insert space data as the initial child

Chuck Paussa


Re: FOP0.20.3

Posted by Carlos <ca...@cvc.edu>.
Did you put fop.jar on your classpath? I find this is still necessary

On 02/22/02 1:58, "Meena" <me...@wipro.com> wrote:

> Hi,
> I tried using fop0.20.3. But while using the batch file, i'm getting the
> following error. What could be the reason?
>  
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/fop/apps/Fop
>  
> regds
> Meena
>  
> 


-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email               carlos@cvc.edu
web                 http://www.cvc1.org/ (work)
                    http://www.silverwolf-net.net (personal)
phone               408 257 0420 (work)
PGP Fingerprint:    E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

"Come to think of it, there already are a million monkeys at a
million typewriters, and usenet is _NOTHING_ like Shakespeare." -
Blair Houghton.