Page 1 of 1

Java-Web-Start problem in my application docx4j

PostPosted: Thu Oct 06, 2011 12:16 am
by iBo
I have an application to create .docx files. It works perfectly fine on my local PC, but gives error on java-web-start:

java.lang.NoClassDefFoundError: org/docx4j/fonts/Mapper

Caused by: java.lang.ClassNotFoundException: org.docx4j.fonts.Mapper

Application gives that error when I click my "create docx" button, other features(my gui, db connections..) still work fine. Clicking the button, application opens an existing docx file, adds a table to it and saves the file on my local PC.

Actually 'missing' class is there in docx4j-2.7.0.jar, in the lib folder. Other jar files in the folder also creates no problem. But the docx4j jar file is the largest in size which is 2,67MB. May that be the problem? Or any other suggestions?

Re: Java-Web-Start problem in my application docx4j

PostPosted: Thu Oct 06, 2011 9:37 am
by jason
docx4all is a Java web start app which uses docx4j. Perhaps you could look at its jnlp file?

Re: Java-Web-Start problem in my application docx4j

PostPosted: Fri Oct 07, 2011 3:23 am
by iBo
Thanks for the reply. As I wrote the jnlp file manually, I have realized that I forgot to put jar files list to jnlp file:)