We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

A call "new Document()" is failing silently

I’m trying to integrate Aspose.word into a complex java web app. In that app when a “new Document();” call is made my app fails but there is no stacktrace in the console. When I try to reproduce this in a simple WAR project it works fine.


Does Aspose have any special logging setting I could change?
Could this be due to low memory problems?
Could this be due to threading problems?

The app is running on JBoss 7.1, java jdk 7, windows 7.

I found that I was getting a NoClassDefFoundError. The problem is in the classloader and not I think in the aspose jar.

Hi Tom,

Thanks for your inquiry. There should not be a problem while creating empty document using “new Document();”. Are you still facing the same issue?

I suggest you please read following web link for your kind reference.
http://stackoverflow.com/questions/17973970/how-to-solve-java-lang-noclassdeffounderror