ClassFormatError: 56 while using hessian in j2me

后端 未结 1 1087
南旧
南旧 2020-12-21 09:14

I am trying to use the hessian j2me implementation @ http://hessian.caucho.com/ using java me sdk 3.0.

http://hessian.caucho.com/doc/hessian-overview.xtp#Hessian%20

相关标签:
1条回答
  • 2020-12-21 10:07

    ClassFormatError happens when your JVM cannot load a class because it does not recognize it's format (e.g. JVM 1.4 trying to load class compiled by javac 1.5).

    It's likely that J2ME requires an older target for classes. Try to recompile your Hessian stuff with

     javac -target 1.4 ...
    
    0 讨论(0)
提交回复
热议问题