pdfJSViewer not being uploaded to server with war deployment

Hello all!

I am trying to use the pdfJSViewer in a ng client solution but when I try to launch a window containing the pdfJSViewer servoy doesn’t find the plugin for the pdfJSViewer. I have checked my export settings for the War export and I see that pdfViewer-pdf-Js-Viewer and pdfViewer-pdf-viewer are both selected, and on my application_server I see that in my solution both the pdfJSViewer and the pdfViewer are included as well as the corresponding manifest files. The error that I am getting is the following:

 	Component spec for pdfviewer-pdf-Js-Viewer not found; please check your component spec file(s).
	at ARM_core/forms/JasperPrintPreview/showJasperReport2:221 (showJasperReport2)
	at ARM_core/forms/JasperPrintPreview/showJasperReport:33 (showJasperReport)
	at ARM_protocol/forms/protocol_report_selector/REPORT_protocol_detail:908 (REPORT_protocol_detail)
	at ARM_protocol/forms/protocol_report_selector/compileReportData:682 (compileReportData)
	at ARM_main/forms/arm_main/busyDialogStart:502 (busyDialogStart)
	at ARM_protocol/forms/protocol_report_selector/ACTION_print:352 (ACTION_print)
	at ARM_core/scopes/globals/showInModalWindow:2655 (showInModalWindow)
	at ARM_protocol/forms/protocol/showSelectorReport:374 (showSelectorReport)

I have been able to run this without any issues from the developer so I am fairly sure it is due to the pdfJSViewer not being uploaded to the application server.

Thanks!

Just in case any servoy engineers happen to be on the forum, I have checked the WAR files by unzipping them and I see that the pdfViewer files are there. I have tried changing the modules from which I am referencing the pdfJSViewer but the component spec is still not being found regardless of which module I reference my component from.

Anyone? Still really need help with this. This is preventing us from changing to NG

Hi skrizvi,

better create a JIRA case for this at support.servoy.com, which is the official support channel.
As you already checked that the component is in the WAR export, it seems like the import is not correct.
Servoy people can most likely give you more pointers on what is wrong.

Will do, created a case here: https://support.servoy.com/browse/SVY-13972