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 cferrero <cr...@hotmail.com> on 2008/01/22 14:31:52 UTC

Some XML content will be ignored. Could not render XML

I have this error in log trace when i convert xml-pdf using Apache Fop....

SEVERE: Some XML content will be ignored. Could not render XML
java.lang.NoClassDefFoundError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi
ronment.java:62)
        at
java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1041)
        at org.apache.fop.svg.PDFGraphics2D.<init>(PDFGraphics2D.java:1850)
        at org.apache.fop.svg.PDFGraphics2D.<init>(PDFGraphics2D.java:193)
        at
org.apache.fop.render.pdf.PDFSVGHandler.renderSVGDocument(PDFSVGHandl
er.java:230)


what colud be the reason ?

Tks !!!!


-- 
View this message in context: http://www.nabble.com/Some-XML-content-will-be-ignored.-Could-not-render-XML-tp15018511p15018511.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Some XML content will be ignored. Could not render XML

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
You're most likely running in headless mode. Please see here for
instructions to fix this:
http://xmlgraphics.apache.org/fop/stable/graphics.html#batik

On 22.01.2008 14:31:52 cferrero wrote:
> 
> I have this error in log trace when i convert xml-pdf using Apache Fop....
> 
> SEVERE: Some XML content will be ignored. Could not render XML
> java.lang.NoClassDefFoundError
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:141)
>         at
> java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi
> ronment.java:62)
>         at
> java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1041)
>         at org.apache.fop.svg.PDFGraphics2D.<init>(PDFGraphics2D.java:1850)
>         at org.apache.fop.svg.PDFGraphics2D.<init>(PDFGraphics2D.java:193)
>         at
> org.apache.fop.render.pdf.PDFSVGHandler.renderSVGDocument(PDFSVGHandl
> er.java:230)
> 
> 
> what colud be the reason ?
> 
> Tks !!!!
> 
> 
> -- 
> View this message in context: http://www.nabble.com/Some-XML-content-will-be-ignored.-Could-not-render-XML-tp15018511p15018511.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org