Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Primavera P6 Error:

12 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)

Fix:

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



This post first appeared on Oracle ADF, BPM, BI And Primavera P6 Tutorials, please read the originial post: here

Share the post

Primavera P6 Error:

×

Subscribe to Oracle Adf, Bpm, Bi And Primavera P6 Tutorials

Get updates delivered right to your inbox!

Thank you for your subscription

×