Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Third party .jar files not being referenced by PRPC 7.1.6

SA-931

Summary



During execution of application rule which references a third party JAR (classes) it fails with the below error.

Error Messages



com.pega.pegarules.pub.services.RemoteApplicationException: constructor failed: java.lang.NoClassDefFoundError: com.printsoft.presshare.PSClient

Steps to Reproduce


 
  1. Run an activity that includes hand-crafted Java and that uses a third-party .jar file.

Root Cause



Third-party classes are not visible or loaded at runtime by the PRPC ClassLoader.

Resolution

  1. Use Application Import from the Pega Developer portal menu (DesignerStudio -> Application -> Distribution -> Import) to import the third-party JAR. Complete the import wizard with the default options.
  2. Re-start the PRPC JVM(s)

Published February 9, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us