Friday, January 21, 2011

WLST Error - java.lang.UnsupportedClassVersionError

Hello Everyone,

Today i have gone through issue working with WLST, it gives me following error while stopping weblogic server via WLST

" Problem invoking WLST - java.lang.UnsupportedClassVersionError: Bad version number in .class file Done "

I have gone through some documents which gives me some idea about this issue, finally i got solution for the same.

Solution: The jdk version used while creating the domain is not supported. Use higher version ( present in the same WebLogic server installed location) and point it while domain creation.

I hope it will help you while working with WLST...

Keep working and smiling..... :)


Regards,
Ajinkya

2 comments:

  1. Good stuff, by the way some time its not easy to shift to higher version of JDK due to some other dependency and best approach is to find the culprit classes or jar and get the compatbile version of those jar based on your execution environment to avoid unsupportedclassversionerror.

    ReplyDelete
  2. @JP @ logging in Java, thank you for reviewing my blog and for tip which will help me n other peoples too...

    Hope will get the same suggestions and comments.

    Regards,
    Ajinkya

    ReplyDelete