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

Throwing ClassNotFoundException when running prpcUtils.sh

SA-602

Summary



Getting error running prpcUtils.sh import --U <user> --P <password>

Error Messages



[java] Aug 4, 2014 12:26:29 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
[java] SEVERE: Unable to get implementation of class com.pega.pegarules.deploy.external.util.ImportUtility
[java] java.lang.ClassNotFoundException: com.pega.pegarules.deploy.external.util.ImportUtility
[java] at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:726)
[java] at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:587)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf(PRBootstrap.java:215)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstrap.java:303)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstrap.java:283)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:388)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:439)
[java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
[java] Aug 4, 2014 12:26:29 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
[java] SEVERE: Problem during method invocation (main)
[java] java.lang.RuntimeException: Unable to get implementation of class com.pega.pegarules.deploy.external.util.ImportUtility
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf(PRBootstrap.java:218)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstrap.java:303)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstrap.java:283)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:388)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:439)
[java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
[java] Caused by: java.lang.ClassNotFoundException: com.pega.pegarules.deploy.external.util.ImportUtility
[java] at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:726)
[java] at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:587)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf(PRBootstrap.java:215)
[java] ... 5 more
[java] Exception in thread "main" java.lang.RuntimeException: Problem during method invocation (main)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:445)
[java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
[java] Caused by: java.lang.RuntimeException: Unable to get implementation of class com.pega.pegarules.deploy.external.util.ImportUtility
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf(PRBootstrap.java:218)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstrap.java:303)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstrap.java:283)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:388)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:439)
[java] ... 1 more
[java] Caused by: java.lang.ClassNotFoundException: com.pega.pegarules.deploy.external.util.ImportUtility
[java] at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:726)
[java] at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:587)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf(PRBootstrap.java:215)
[java] ... 5 more


Steps to Reproduce



Execute the prprcUtils.sh from command line window

Root Cause



The wrong deployment package is being used. In this particular case, the PRPC server version is 6.2 SP2 ML1, but the deployment package is from the 6.2 SP2 media.


Resolution



Use the correct version of deployment package
Suggest Edit

Published March 21, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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