Free Support Forum - groupdocs.com

Error while applying watermark on pdf


#1

WARNING: PDF write support was not found on the class path
Exception in thread “main” java.lang.IllegalAccessError: tried to access class com.aspose.email.as from class com.groupdocs.watermark.bc
at com.groupdocs.watermark.bc.wC(Unknown Source)
at com.groupdocs.watermark.ao.(Unknown Source)
at com.groupdocs.watermark.ao.vJ(Unknown Source)
at com.groupdocs.watermark.DocumentFactory.a(Unknown Source)
at com.groupdocs.watermark.DocumentFactory.load(Unknown Source)
at com.groupdocs.watermark.DocumentFactory.load(Unknown Source)
at com.groupdocs.watermark.Document.load(Unknown Source)
at opener.utils.watermark.PdfWaterMark.addWaterMarkToPdfToCenter(PdfWaterMark.java:55)
at opener.utils.watermark.PdfWaterMark.processWatermark(PdfWaterMark.java:26)
at opener.Opener.main(Opener.java:510)


#2

@sushil8282,

Please provide us the following details so that we can investigate the issue at our end:

  • Version of GroupDocs.Watermark for Java you are using
  • The problematic PDF document
  • Source code (could be a simple console application without compilation errors)