java.lang.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/Session;

Stack Overflow | Nisha | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Trouble Running Hibernate jar file from cmd prompt

    Stack Overflow | 11 months ago | Nisha
    java.lang.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/Session;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.hibernate.SessionFactory.openSession()Lorg/hibernate/Session;

      at udmf.connectors.dao.T_ARCH_DB_INFODao.printT_ARCH_DB_INFO()
    2. udmf.connectors.dao
      T_ARCH_DB_INFODao.printT_ARCH_DB_INFO
      1. udmf.connectors.dao.T_ARCH_DB_INFODao.printT_ARCH_DB_INFO(T_ARCH_DB_INFODao.java:184)
      1 frame
    3. udmf.connectors
      Caller.main
      1. udmf.connectors.Caller.performTc(Caller.java:135)
      2. udmf.connectors.Caller.main(Caller.java:312)
      2 frames