Hi,
Im trying to create docx from xhtml using the ConvertInXHTMLFile sample provided. I used the default jars from docx4j-2.8.0.zip. However its throwing
Exception in thread "main" java.lang.NoSuchMethodError: com.lowagie.text.pdf.BaseFont.getCharBBox(I)[I
at org.docx4j.org.xhtmlrenderer.pdf.ITextFontResolver$FontDescription.setMetricDefaults(ITextFontResolver.java:730)
at org.docx4j.org.xhtmlrenderer.pdf.ITextFontResolver$FontDescription.<init>(ITextFontResolver.java:661)
at org.docx4j.org.xhtmlrenderer.pdf.ITextFontResolver.addCourier(ITextFontResolver.java:461)
at org.docx4j.org.xhtmlrenderer.pdf.ITextFontResolver.createInitialFontMap(ITextFontResolver.java:441)
at org.docx4j.org.xhtmlrenderer.pdf.ITextFontResolver.<init>(ITextFontResolver.java:41)
at org.docx4j.org.xhtmlrenderer.docx.DocxRenderer.<init>(DocxRenderer.java:133)
at org.docx4j.org.xhtmlrenderer.docx.DocxRenderer.<init>(DocxRenderer.java:85)
at org.docx4j.convert.in.xhtml.XHTMLImporter.convert(XHTMLImporter.java:377)
at ConvertInXHTMLFile.main(ConvertInXHTMLFile.java:71)
Im Struck here... Please help