Support Article
ExtractRules.ksh error "Could not find mainclass .pub.PegaRULES"
SA-31222
Summary
Getting an error trying to run commandline BIX from a Linux shell script.
The BIX extract rule works when run the PRPC UI.
Error Messages
Error: Could not find or load main class com.pega.pegarules.pub.PegaRULES
Steps to Reproduce
Run the linux shell script.
Root Cause
Issue was due to missing a jar file in the classpath.
Resolution
The Java Classpath needs to contain a reference to the following JAR file:
<BIX_HOME>/lib/prbootstrap-api.jar
Published April 29, 2017 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.