[xep-support] Re: [RenderX XEP] ConnectivityKit - Trial: NoCLassDefFoundError

Kevin Brown kevin at renderx.com
Thu Jul 4 10:11:02 PDT 2013


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 at renderx.com
[mailto:xep-support-bounces at renderx.com] On Behalf Of Nicolas Dubien
Sent: Wednesday, July 03, 2013 11:50 PM
To: xep-support at 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! 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20130704/0aac3de1/attachment.html>


More information about the Xep-support mailing list