Monday, May 3, 2010

class file has wrong version 50.0, should be 49.0 Please remove or make sure it appears in the correct subdirectory of the classpath.

[5/3/10 22:07:29:656 CDT] 00000146 SystemErr R com.ibm.bpe.plugins.DeploymentCodeGenerationCompileFailedException: CWWBD0338E: The compilation of the Java code for the BPEL file '' failed.

The Java compiler produced the following output: 'C:\WID\pf\wps\wstemp\app.bfm1286147ef43\ejb_ext\ccbexceptionhandlerpm\CommonExceptionHandlerProcess20100322T070946EntityAbstractBase.java:2: cannot access com.ccb.internallogger.CCBLogger
bad class file: C:\WID\pf\wps\wstemp\wstemp\app_1286147c62f\app.bfm1286147c62f\ext\...._ear\....jar(.../CCBLogger.class)
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

import com.ccb.internallogger.CCBLogger;
^
1 error
'
at com.ibm.bpe.deployment.BPEGeneratorForDeployment.compile(BPEGeneratorForDeployment.java:595)
at com.ibm.bpe.processarchive.SCDLProcessComponentConfigureTask.performTask(SCDLProcessComponentConfigureTask.java:240)
at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:263)
at java.lang.Thread.run(Thread.java:810)
_____________________________________________________
Change the compiler level to 1.5() recompile and deploy to server.

Below are a list of some of the version numbers and their corresponding Java runtimes:
Version 50.0 = Java 1.6.x
Version 49.0 = Java 1.5.x
So there is mismatch of Java versions..

No comments:

Post a Comment