Open MaTraWy opened 3 years ago
Is there any solution on that? I ran into the same issue, but I would like to use this PDFViewer because it would be very convenient for my application.
Kind regards, Vanessa
What worked for me was to simply pass PdfJSVersion._2_2_228
as a constructor argument when creating the PDFDisplayer
instance.
E.g. var displayer = new PDFDisplayer(PdfJSVersion._2_2_228);
when i try to load a pdf i get exception -> netscape.javascript.JSException: ReferenceError: Cannot Find variable PDFViewerApplication
jdk version 1.8.0_111