You are missing "com/jclark/xsl/sax/XSLProcessor" just as the error says. Do
you have "xt.jar" in the Classpath?
Kevin Brown
RenderX
From: xep-support-bounces@renderx.com
[mailto:xep-support-bounces@renderx.com] On Behalf Of Nicolas Dubien
Sent: Wednesday, July 03, 2013 11:50 PM
To: xep-support@renderx.com
Subject: [xep-support] [RenderX XEP] ConnectivityKit - Trial:
NoCLassDefFoundError
Dear Sir or Madam,
I tried to use your renderer into one of my project but I received the
folowing traceback:
(document [system-id
file:/D:/Userfiles/ndubien/workspace/CustomXSLT/benchmark.fo]Exception in
thread "XEP#1" java.lang.NoClassDefFoundError:
com/jclark/xsl/sax/XSLProcessor
at
com.renderx.xep.FormatterCore$ContentHandlerDriver.startDocument(FormatterCo
re.java:321)
at org.apache.xerces.parsers.AbstractSAXParser.startDocument(Unknown
Source)
at org.apache.xerces..impl.dtd.XMLDTDValidator.startDocument(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown
Source)
at
org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at com.renderx.xep.FormatterCore.render(FormatterCore.java:48)
at com.renderx.xep.FormatterImpl.render(FormatterImpl.java:185)
at com.renderx.xep.FormatterImpl.render(FormatterImpl.java:132)
at com.renderx.xep.FormatterImpl.render(FormatterImpl.java:125)
at com.xxx.tdm.service.jfs.app.engine.xslfo.XEP.subRun(XEP.java:67)
at com.xxx.tdm.service.jfs.app.engine.Engine.run(Engine..java:40)
Your library - xep-debug.jar - is already linked to the project. Here is the
code, I am using to generate the PDF file:
Source src = new StreamSource(new File(inputFileName)); // FO file generated
thanks to Xalan
FileOutputStream out = new FileOutputStream(new File(outputFileName)); //
PDF file
xep.render(src, new com.renderx.xep.FOTarget(out, outputFormat)); //
outputFormat = "PDF"
I am looking forward to hearing from you,
Nicolas DUBIEN
!DSPAM:87,51d51b159851528919502!
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Thu Jul 4 10:11:24 2013
This archive was generated by hypermail 2.1.8 : Thu Jul 04 2013 - 10:11:29 PDT