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

Getting UnsupportedClassVersion error at runtime



User is getting UnsupportedClassVersion  error in logs files when trying to use external jar file.

Error Messages

Caused by: java.lang.UnsupportedClassVersionError: org/tempuri/DAAuditService : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(
at com.pega.pegarules.bootstrap.loader.PRAppLoader.findClassInternal(
at com.pega.pegarules.bootstrap.loader.PRAppLoader.findClass(
at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(
at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(
at com.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB.loadClass(
at java.lang.ClassLoader.loadClass(
at com.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB$Loader.loadClass(
at java.lang.ClassLoader.loadClass(
at com.pegarules.generated.activity.sh_action_barsandatlaswcfserviceconnector_5885aafc9cea23928f3eaf45a4df135a.step1_circum0

Steps to Reproduce

1. Compile the java code with Java version 1.8 and generate Jar file.
2. Use compiled jar file classes in Java version 1.7.

Root Cause

User had compiled the Java code in later version and trying to run from java lower version causes the issue.


User compiled the java classes in Java 1.7 version resolves the issue.


Published November 15, 2016 - 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