I am trying to use Apache NFOP 0.93 in a C# project to produce a .pdf file. I am receiving the following error:"An exception of type 'java.util.MissingResourceException' occurred in ApacheFop.Net.DLL but was not handled in user code Additional information: Resource Bundle not Found" The error occurs on the driver.run() line of this code:using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.IO;using System.Xml;using System.Xml.Xsl;using System.Xml.XPath;using org.apache.fop;using org.apache.fop.apps;using org.apache.fop.tools;using org.xml.sax;using java.io;using java.util;
XslCompiledTransform xslt = new XslCompiledTransform();xslt.Load("sample.xsl");xslt.Transform("sample.xml", "sample.fo"); //Generate PDFFileInputStream streamFO = new FileInputStream("sample.fo");InputSource src = new InputSource(streamFO);FileOutputStream streamOut = new FileOutputStream("sample.pdf");Driver driver = new Driver(src, streamOut);driver.setRenderer(Driver.RENDER_PDF);driver.run();streamOut.close();
Any help is appreciatedThank You