KAMOHELO MOFOKENG <kamohelo2003 <at> yahoo.com> writes: > > > Hi All, > > I'm running a JApplet on an Eclipse IDE on Windows 7 OS. > > The code is intended to turn a zipped xml file into a PDF document. > > When the program executes the line: > <code> > FopFactory fopFactory = FopFactory.newInstance(); > <code> > > I get the following error message: > > ------------------------------------------------------------------------------ ----------------------------------------------------- > Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: org/apache/fop/apps/FopFactory at com.momaf.tiermuis.applet.health.StatementGeneratorApplet.genereateClientPDF(Unk nown Source) at com.momaf.tiermuis.applet.health.StatementGeneratorApplet.access$1200(Unknown Source) at ... ... ... >Caused by: java.lang.ClassNotFoundException: >org.apache.fop.apps.FopFactory at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 38 more ... ...
try including this jar "commons-logging-1.1.1-bin" in your classpath... i got this working, actually the class "org.apache.fop.apps.FopFactory" is missing in fop... --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
