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

SA-30006

Summary



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(ClassLoader.java:803)
at com.pega.pegarules.bootstrap.loader.PRAppLoader.findClassInternal(PRAppLoader.java:941)
at com.pega.pegarules.bootstrap.loader.PRAppLoader.findClass(PRAppLoader.java:459)
at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:761)
at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:649)
at com.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB.loadClass(PRClassLoaderDB.java:1069)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at com.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB$Loader.loadClass(PRClassLoaderDB.java:2139)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
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.


Resolution



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