Reply from alexandrepriou on May 22 at 10:40 AM why you don't use FOP ?
| | | ---------------Original Message--------------- From: Yag0581 Gan Sent: Tuesday, May 22, 2012 9:31 AM Subject: HTML to PDF Conversion another version of HTML to PDF generation code giving the below error, Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.access$000(X11Graph icsEnvironment.java:95) at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEn vironment.java:184) at java.security.AccessController.doPrivileged(Access Controller.java:192) at sun.awt.X11GraphicsEnvironment.<clinit>(X11G raphicsEnvironment.java:173) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:177) at java.lang.Class.forNameImpl(Native Method) at java.lang.Class.forName(Class.java:131) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvironment.java:99) at org.xhtmlrenderer.context.AWTFontResolver.init(AWT FontResolver.java:57) at org.xhtmlrenderer.context.AWTFontResolver.<init >(AWTFontResolver.java:53) at org.xhtmlrenderer.layout.SharedContext.<init> ;(SharedContext.java:101) at org.xhtmlrenderer.pdf.ITextRenderer.<init>(I TextRenderer.java:79) at org.xhtmlrenderer.pdf.ITextRenderer.<init>(I TextRenderer.java:70) at PDFGeneration.main(PDFGeneration.java:15) In executing the code in AIX system, can anyone help me fix this? | | Reply to this email to post your response. __.____._ | _.____.__ |
No comments:
Post a Comment