You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/03/15 12:15:08 UTC

DO NOT REPLY [Bug 7147] New: - org/apache/batik/svg/GraphicsNodeRenderContext not found

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7147>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7147

org/apache/batik/svg/GraphicsNodeRenderContext not found

           Summary: org/apache/batik/svg/GraphicsNodeRenderContext not found
           Product: Fop
           Version: 0.20.3
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: pdf renderer
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: klaus.proell@web.de


We use the following statements to generate a
pdf-file, but we got an
java class not found exception for
org/apache/batik/svg/GraphicsNodeRenderContext.


            java.io.Reader reader;
            reader = new StringReader(xml_fo);
            ByteArrayOutputStream out = new ByteArrayOutputStream();
            Driver FOPDriver = new Driver(new InputSource(reader), out);
            FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
            // Tell FOP not to spit out any messages.
            MessageHandler.setOutputMethod(MessageHandler.NONE);
            FOPDriver.setupDefaultMappings();
            FOPDriver.run();

Our solution was to switch to an older batic.jar file 
(not the one which is included in the fop .20.3 tar,)
and then it works.

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