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
- 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
- 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.
- Re-start the PRPC JVM(s)
Published February 9, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.