java.lang.UnsupportedClassVersionError in Oracle Apps

After submitting inventory transaction, Oracle Applications show process error, Check inventory debug log, found out error:java.lang.UnsupportedClassVersionError.

From log, The issue seems be related to LotTrxManager.class,Then run below script to check java file version in Database.


begin
fnd_aolj_util.getClassVersionfromDB('oracle.apps.inv.transaction.server.LotTrxManager');

end;

Above script also error out
Line Pos Text                                                                                                                                                                                       
         Exception in thread "Root Thread" java.lang.UnsupportedClassVersionError: oracle/apps/inv/transaction/server/LotTrxManager (Unsupported major.minor version 50.0)                          
             at java.lang.Class.forName0(Native Method)                                                                                                                                                
             at java.lang.Class.forName(Class.java)                                                                                                                                                    
             at oracle.apps.fnd.common.VersionInfo.displayClassVersion(VersionInfo.java:321)                                                                                                           
             at oracle.apps.fnd.common.VersionInfo.displayClassVersion(VersionInfo.java:303)                                                                                                           
             at oracle.apps.fnd.common.VersionInfo.displayClassVersion(VersionInfo.java:294)                                                                                                           
1    1   ORA-29532: Java call terminated by uncaught Java exception: java.lang.UnsupportedClassVersionError: oracle/apps/inv/transaction/server/LotTrxManager (Unsupported major.minor version 50.0)
ORA-06512: at "APPS.FND_AOLJ_UTIL", line 126
ORA-06512: at "APPS.FND_AOLJ_UTIL", line 137
ORA-06512: at line 2
         Total execution time 1.278 sec.                                                                                                                                                    
       



Solution:
Reload class file into Database.
-bash-3.00$ loadjava -user apps/password@instance -verbose -resolve LotTrxManager.class
arguments: '-user' 'apps/password@instance' '-verbose' '-resolve' 'LotTrxManager.class'

creating : class oracle/apps/inv/transaction/server/LotTrxManager
loading  : class oracle/apps/inv/transaction/server/LotTrxManager

resolving: class oracle/apps/inv/transaction/server/LotTrxManager


你可能感兴趣的:(Troubleshooting,Oracle,EBS,INV)