Announcement Announcement Module
No announcement yet.
Hessian with Spring3 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hessian with Spring3

    I'm trying to get some services exposed using Hessian in a Spring3 project. I'm currently using Spring 3.0.2.RELEASE, and am having trouble getting Hessian working with it.

    Currently I'm getting:
    java.lang.NoSuchMethodError: com.caucho.hessian.server.HessianSkeleton.<init>(Ljava/lang/Object;Ljava/lang/Class;)V
    when my app loads up in Tomcat, and I've gotten this with com.caucho:hessian:3.1.3, 3.1.5, 3.1.6, 3.2.1 and 4.0.6.

    However, if I run it in Jetty instead then the service itself loads up fine.

    Has anyone successfully got Hessian working with Spring3 and Tomcat, and if so can you suggest what I'm doing wrong?

    EDIT: It *does* work correctly in Jetty, once I put the overloadEnabled flag back into my context. I realise this is probably totally out of place on the Spring forums now, but still wouldn't complain if anyone happens to have an answer...
    Last edited by sazzer; May 10th, 2010, 08:29 AM.