Support Article
NoClassDefFoundError generating keyring file
SA-5758
Summary
The application was updated from Pega 7.1.6 to Pega 7.1.7 using the Maintenance Level Updates (MLU) process. The script run to generate keyring file failed.
Error Messages
**Date and time** com.pega.pegarules.internal.bootstrap.PRMiniLoader
19830421: Will load phase 2 bootstrap from Pega-EngineCode:07-10-13
Jan 21, 2015 11:07:33 AM com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega
SEVERE: Problem during method invocation (main)
java.lang.NoClassDefFoundError: com/pega/pegarules/internal/bootstrap/BaseLogger
at com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl.<clinit>(PRBootstrapImpl.java:185)
Steps to Reproduce
- Update to Pega 7.1.7.
- Use scripts that work in Pega 7.1.6.
Root Cause
A defect or configuration issue in the operating environment. The JAR files used by the command line scripts does not use the new JAR files from Pega 7.1.7 media. The prbootstrap.properties file specified the wrong codeset version.
Resolution
Make the following change to the operating environment:
- In Pega 7.1.7, there are four JAR files that come with media, which must be included on the classpath when running command line scripts:
- jsr94-1.0.jar
- prbootstrap.jar
- prbootstrap-api.jar
- prdbcp.jar
- Update prbootstrap.properties file to set the property to the correct codeset version for Pega 7.1.7:
- com.pega.pegarules.bootstrap.codeset.version.Pega-EngineCode=07-10-15
Published November 10, 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.