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

NoClassDefFoundError when connecting to external database

SA-62820

Summary



NoClassDefFoundError occurs when connecting to an external database (Neptune) using AWS Java API.


Error Messages



NoClassDefFoundError


Steps to Reproduce



Write a Java code which has AWS API calls.


Root Cause



Classes were missing in the runtime classpath.


Resolution



Perform either of the following local-changes:

Provide 06-01-01 to the 'com.pega.pegarules.bootstrap.codeset.version.Customer' field in the prbootstrap.properties file.

Alternatively, provide the shared library path (which has all the third-party JARs) as the runtime classpath.

To define the runtime class path, refer to:

https://community.pega.com/support/support-articles/unable-save-rule-references-external-java-classes
https://community.pega.com/knowledgebase/articles/about-process-commander-51-class-paths



 

Published February 9, 2019 - 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