<pe:documentViewer> isn’t loading pdf file in Liferay 6.2 environment

23 Views Asked by At

<pe:documentViewer> isn’t loading pdf file in Liferay6.2 environment. Using following code <pe:documentViewer height="475" url="#{Myjavabean.pdfFilePath}" />

Getting following error Msg:

PDF.js v1.5.188 (build: 0e2d50f)

Message: file origin does not match viewer's

I am using Primefaces-6.2.RC2.jar and primefaces-extensions-6.1.1.jar

I checked pdf file location on linux server and it is being created there successfully but not loading on browser. Any help would be appreciated.

0

There are 0 best solutions below