Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    NoSuchMethodError in Hibernate 4, Jetty Environment

    I just upgraded Hibernate 3.3.2 to 4.1.4.Final. I got the following error. The same war file is working fine in WebLogic Server, but it is not in Jetty. DMI throw NoSuchMethodError. It looks like Jetty has some conflict with Hibernate 4. Do you have any idea about this problem?

    "java.lang.NoSuchMethodError: org.hibernate.SessionFactory.getCurrentSession()Lorg/hibernate/classic/Session;"

    GWT 2.2.0
    smartgwt: 3.0p

    #2
    Hibernate made several non-backwards-compatible changes in their new release. We worked around this for 3.1 - please try that release.

    The extensive changes necessary will not be backported to 3.0.

    Comment

    Working...
    X