I have been producing reports successfully by embedding fop in my java classes. These worked fine as standalone applications but when I tried to incorporate them into the front end GUI I got this error. I have the latest version of batik.jar and cannot see what might be wrong.

Has anybody had this problem

Thanks in advance.

Exception occurred during event dispatching:
java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/SVGContext
at org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMapping
ava:21)
at org.apache.fop.apps.Driver.addElementMapping(Driver.java:373)
at org.apache.fop.apps.Driver.addElementMapping(Driver.java:384)
at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java:253)
at org.apache.fop.apps.Driver.<init>(Driver.java:189)
at com.inatos.homelet.block.reports.BlockDocument.writePDF(BlockDocume
.java:64)
at com.inatos.homelet.block.reports.Cash_IncomeReport.writePDF(Cash_In
meReport.java:228)
at CashIncomeDateReport.ReportBuuton_mousePressed(CashIncomeDateReport
ava:413)
at CashIncomeDateReport$SymMouse.mousePressed(CashIncomeDateReport.jav
231)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:
1)
at java.awt.Component.processMouseEvent(Component.java:3712)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:24
)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:221


at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:926)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatch
read.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchTh
ad.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)



Reply via email to