Free Support Forum - aspose.com

Exception when visit a PDF document with

Anyone can help?
Java JDK 1.8, aspose 18.7 trial license. POC purpose
Appreciate.
Tony

Exception in thread “main” java.lang.NoSuchMethodError: com.aspose.pdf.internal.ms.core.resources.ResourcesLoader.loadResource(Ljava/lang/String;Ljava/lang/String;)Lcom/aspose/pdf/internal/ms/System/IO/Stream;
at com.aspose.pdf.internal.l194I.I1.llf(Unknown Source)
at com.aspose.pdf.internal.l194I.I1.lI(Unknown Source)
at com.aspose.pdf.internal.l1637.I01.lI(Unknown Source)
at com.aspose.pdf.internal.l1637.I01.(Unknown Source)
at com.aspose.pdf.internal.l1637.I01.(Unknown Source)
at com.aspose.pdf.internal.l169I.I1l.l0I(Unknown Source)
at com.aspose.pdf.internal.l169I.I1l.ll(Unknown Source)
at com.aspose.pdf.internal.ms.System.I177.lif(Unknown Source)
at com.aspose.pdf.internal.l169I.I1l.lif(Unknown Source)
at com.aspose.pdf.internal.ms.System.I254.lif(Unknown Source)
at com.aspose.pdf.internal.ms.System.I254.lif(Unknown Source)
at com.aspose.pdf.internal.ms.System.I254.lif(Unknown Source)
at com.aspose.pdf.ParagraphAbsorber.visit(Unknown Source)
at com.aspose.pdf.ParagraphAbsorber.visit(Unknown Source)

@yichunxia

Thanks for contacting support.

Would you please share your sample PDF document along with the sample code snippet. We will test the scenario in our environment and address it accordingly.

See my example file in :slight_smile: How to read PDF file and extract text, tables, cells etc via aspose-pdf?

Seems I try to visit a table in pdf file with ParagraphAbsorber. If this is the case, is there any good approach to judge the type in the pdf file? plain text or table or mixed?

Thanks
Tony

@yichunxia

Thanks for writing back.

We have responded to your similar inquiry and shared our feedback for your question in the same response. You may please continue discussion in the other thread.