[xep-support] Re: [RenderX XEP] ConnectivityKit - Trial: NoCLassDefFoundError
Kevin Brown
kevin at renderx.com
Thu Jul 4 11:18:11 PDT 2013
IF you have only downloaded the DevKit trial (and you have not actually
downloaded XEP itself), you will get nowhere fast. You need to:
1) Download XEP Trial and install it
2) You can then see what *should* be in the classpath along with the
other files you may need like xep.xml, fonts and hyphenation sets and such
3) If you want to use the debug jar, then replace the xep.jar in the
installation with the debug jar
Kevin Brown
RenderX
From: xep-support-bounces at renderx.com
[mailto:xep-support-bounces at renderx.com] On Behalf Of Kevin Brown
Sent: Thursday, July 04, 2013 10:11 AM
To: 'RenderX Community Support List'
Subject: [xep-support] Re: [RenderX XEP] ConnectivityKit - Trial:
NoCLassDefFoundError
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/c5dc9eea/attachment-0001.html>
More information about the Xep-support
mailing list