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

Free Support Forum - aspose.com

Could not initialize class asposewobfuscated

Hi,


There is a java NoClassDefFoundError throw out when our customer using Aspose to generate report.
Customer is using words-13.4.0. and OS is Linux
Here is the error trace:

Caused by: java.lang.NoClassDefFoundError: Could not initialize class asposewobfuscated.毛GY
at com.aspose.words.毛FX.毛Z(Unknown Source)
at com.aspose.words.毛FY.毛Y(Unknown Source)
at com.aspose.words.毛FY.毛4g(Unknown Source)
at com.aspose.words.毛FY.毛Z(Unknown Source)
at com.aspose.words.毛C2.毛X(Unknown Source)
at com.aspose.words.毛C6.毛Z(Unknown Source)
at com.aspose.words.毛C6.visitShapeStart(Unknown Source)
at com.aspose.words.Shape.毛Z(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Shape.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Paragraph.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Cell.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Row.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Table.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.HeaderFooter.accept(Unknown Source)
at com.aspose.words.毛J9.毛s(Unknown Source)
at com.aspose.words.毛J9.毛Z(Unknown Source)
at com.aspose.words.毛J9.毛W(Unknown Source)
at com.aspose.words.毛J9.毛Y(Unknown Source)
at com.aspose.words.毛J9.writeBody(Unknown Source)
at com.aspose.words.毛J9.毛gL(Unknown Source)
at com.aspose.words.毛J9.毛6J(Unknown Source)
at com.aspose.words.毛I3.毛Z(Unknown Source)
at com.aspose.words.Document.毛Z(Unknown Source)
at com.aspose.words.Document.毛Z(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)

It seems a class file missing in words jar. Attached two words jar files here. Both came from our customer. Would you please check
1. If there are some thing wrong in this two jars.
2. Give us some guides or suggestions for this kind of issue.For example: What is the possible solution or What kind of logs I need collect from customer.

Please let me know if you any concerns about this issue !

Thanks :slight_smile:

Hi Shani,

Thanks for your inquiry. NoClassDefFoundError in Java comes when Java Virtual Machine is not able to find a particular class at runtime which was available during compile time.


Please remove all reference to Aspose.Words for Java from your project, clean the project (any IDE cache etc.) and add reference again in your project to Aspose.Words for Java. Hope this helps you.

Please read following link for your kind reference.
java.lang.NoClassDefFoundError: Could not initialize class