440 total views, 0 views today

Primavera P6 Error: Unsupported major.minor version 52.0



Received the following error while starting the WebLogic server. Due to this, the P6 application won’t start. The reason for the below error is the P6 application deployed in the WebLogic server is compiled on the later Java version and the Weblogic is running on the older Java version.



weblogic.application.ModuleException: java.lang.UnsupportedClassVersionError: com/primavera/pvweb/listeners/PVSessionListener : Unsupported major.minor version 52.0

    at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:175)

    at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:170)

    at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:80)

    at weblogic.work.ContextWrap.run(ContextWrap.java:40)

    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:548)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

Caused By: java.lang.UnsupportedClassVersionError: com/primavera/pvweb/listeners/PVSessionListener : Unsupported major.minor version 52.0

    at java.lang.ClassLoader.defineClass1(Native Method)

    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:412)

    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:366)





We need to set the correct Java Version for Weblogic to run. If you are using Primavera P6 then go to tested configuration excel sheet and find the Java version supported by Primavera P6 and do the below steps


Go to your WebLogic_DOMAIN_HOME\BIN directory and edit the setDomain.sh (cmd) file and set the JAVA_HOME point to correct JDK directory as shown below


121617_0711_PrimaveraP61 Primavera P6 Error:

govindan Primavera P6 Error:
Connect me


Thank you for visiting my personal blog. Myself Govindan, Software Developer by profession since 2006 and hence I started this blog early in 2016 and ever since I've been writing about technologies experienced and learnings of everyday life.

The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.

Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply šŸ™‚
govindan Primavera P6 Error:
Connect me
By | 2017-12-16T02:43:33+00:00 December 16th, 2017|Categories: P6|Tags: , |Comments Off on Primavera P6 Error:
Like us on Facebook.