# pdfJSViewer not being uploaded to server with war deployment

**URL:** <https://forum.servoy.com/t/pdfjsviewer-not-being-uploaded-to-server-with-war-deployment/20024>\
**Category:** Classic Servoy\
**Created:** [July 1, 2019, 11:32pm UTC](https://forum.servoy.com/t/pdfjsviewer-not-being-uploaded-to-server-with-war-deployment/20024 "2019-07-01T23:32:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![skrizvi](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@skrizvi](https://forum.servoy.com/u/skrizvi)\
**Post date:** [July 1, 2019, 11:32pm UTC](https://forum.servoy.com/t/pdfjsviewer-not-being-uploaded-to-server-with-war-deployment/20024/1 "2019-07-01T23:32:10Z")

</div>

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:

```auto
 	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!

---

<div class="post-metadata">

**Author:** ![skrizvi](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@skrizvi](https://forum.servoy.com/u/skrizvi)\
**Post date:** [July 3, 2019, 5:13pm UTC](https://forum.servoy.com/t/pdfjsviewer-not-being-uploaded-to-server-with-war-deployment/20024/2 "2019-07-03T17:13:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![skrizvi](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@skrizvi](https://forum.servoy.com/u/skrizvi)\
**Post date:** [July 10, 2019, 11:56pm UTC](https://forum.servoy.com/t/pdfjsviewer-not-being-uploaded-to-server-with-war-deployment/20024/3 "2019-07-10T23:56:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [July 11, 2019, 1:44pm UTC](https://forum.servoy.com/t/pdfjsviewer-not-being-uploaded-to-server-with-war-deployment/20024/4 "2019-07-11T13:44:41Z")

</div>

Hi skrizvi,

better create a JIRA case for this at [support.servoy.com](http://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.

---

<div class="post-metadata">

**Author:** ![skrizvi](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@skrizvi](https://forum.servoy.com/u/skrizvi)\
**Post date:** [July 12, 2019, 4:58pm UTC](https://forum.servoy.com/t/pdfjsviewer-not-being-uploaded-to-server-with-war-deployment/20024/5 "2019-07-12T16:58:27Z")

</div>

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