UnsupportedClassVersionError While Publishing A BPM 10.3.3 Project (Doc ID 1576178.1)

Last updated on AUGUST 14, 2013

Applies to:

Oracle Business Process Management Suite - Version 10.3.2 and later
Information in this document applies to any platform.

Symptoms

 The exception below is displayed while attempting to deploy a process to OBPM Enterprise J2EE that includes introspected .jar files. One of the classes in the jar file seems to cause this error as the library is being added see below.

 

[<I> 0724 10:22:57.295] Main (<5> http-8686-Processor19): Compiling BusinessComponents.UTIL.Logging.LogAdapter.
[<D> 0724 10:22:57.310] Main (<5> http-8686-Processor19): Adding library file [log4j-1.2.15.jar]
[<D> 0724 10:22:57.310] Main (<5> http-8686-Processor19): Adding library file [xxxxxxx-bpm.jar]
[<D> 0724 10:22:57.342] Main (<5> http-8686-Processor19): Bad version number in .class file
[     (cont)     ] Main: java.lang.UnsupportedClassVersionError: Bad version number in .class file
[     (cont)     ] Main: at java.lang.ClassLoader.defineClass1(Native Method)
[     (cont)     ] Main: at java.lang.ClassLoader.defineClass(Unknown Source)
[     (cont)     ] Main: at java.security.SecureClassLoader.defineClass(Unknown Source)
[     (cont)     ] Main: at java.net.URLClassLoader.defineClass(Unknown Source)
[     (cont)     ] Main: at java.net.URLClassLoader.access$100(Unknown Source)
[     (cont)     ] Main: at java.net.URLClassLoader$1.run(Unknown Source)
[     (cont)     ] Main: at java.security.AccessController.doPrivileged(Native Method)
[     (cont)     ] Main: at java.net.URLClassLoader.findClass(Unknown Source)
[     (cont)     ] Main: at java.lang.ClassLoader.loadClass(Unknown Source)
[     (cont)     ] Main: at java.lang.ClassLoader.loadClass(Unknown Source)
[     (cont)     ] Main: at fuego.project.io.fs.CatalogVisitor$1.resolve(CatalogVisitor.java:73)
[     (cont)     ] Main: at fuego.lang.ObjectTypeDescription.getJavaClass(ObjectTypeDescription.java:1190)
[     (cont)     ] Main: at fuego.bcgen.TD$BcelRepository.addToRepository(TD.java:499)
[     (cont)     ] Main: at fuego.bcgen.TD$BcelRepository.checkOtherTypes(TD.java:517)
[     (cont)     ] Main: at fuego.bcgen.TD$BcelRepository.loadClass(TD.java:347)
[     (cont)     ] Main: at org.apache.bcel.Repository.lookupClass(Repository.java:99)
[     (cont)     ] Main: at org.apache.bcel.generic.ObjectType.referencesInterface(ObjectType.java:109)
[     (cont)     ] Main: at fuego.bcgen.MethodD.guessIfReferenceInterface(MethodD.java:317)
[     (cont)     ] Main: at fuego.bcgen.MethodD.referencesInterface(MethodD.java:191)
[     (cont)     ] Main: at fuego.bcgen.JVMCodeBuilderImpl.invoke(JVMCodeBuilderImpl.java:475)
[     (cont)     ] Main: at fuego.compiler.JVMByteCodeGenerator.generate(JVMByteCodeGenerator.java:323)
[     (cont)     ] Main: at fuego.compiler.Invoke$MethodCall.generate(Invoke.java:1401)
[     (cont)     ] Main: at fuego.compiler.Node.gen(Node.java:820)
[     (cont)     ] Main: at fuego.compiler.BaseCodeGenerator.generate(BaseCodeGenerator.java:59)
[     (cont)     ] Main: at fuego.compiler.Invoke.generate(Invoke.java:733)
[     (cont)     ] Main: at fuego.compiler.Node.gen(Node.java:820)
[     (cont)     ] Main: at fuego.compiler.BaseCodeGenerator.generate(BaseCodeGenerator.java:87)
[     (cont)     ] Main: at fuego.compiler.Block.generate(Block.java:276)
[     (cont)     ] Main: at fuego.compiler.Node.gen(Node.java:820)
[     (cont)     ] Main: at fuego.compiler.JVMByteCodeGenerator.generate(JVMByteCodeGenerator.java:149)
[     (cont)     ] Main: at fuego.compiler.DoBlock.generate(DoBlock.java:521)
[     (cont)     ] Main: at fuego.compiler.Node.gen(Node.java:820)
[     (cont)     ] Main: at fuego.compiler.BaseCodeGenerator.generate(BaseCodeGenerator.java:87)
[     (cont)     ] Main: at fuego.compiler.Block.generate(Block.java:276)
[     (cont)     ] Main: at fuego.compiler.Node.gen(Node.java:820)
[     (cont)     ] Main: at fuego.compiler.JVMByteCodeGenerator.generate(JVMByteCodeGenerator.java:149)
 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms