Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.hibernate.engine.spi.SessionFactoryImplementor.getConnectionProvider()Lorg/hibernate/service/jdbc/connections/spi/ConnectionProvider;

Well again at work for some reason 🙂 I had been facing the session factory related transaction manager issue, I tried many ways to get the app back on the track to work along with hibernate. so the issue turned out the version mismatch! I was dwelling on sorting out, as read the post on http://stackoverflow.com/a/16465508/1958683 I had to downgrade the version of Hibernate from 4.3.5.Final to 4.1.7.Final it worked smoothly and all of those transaction related exceptions were gone and app started working perfectly!

Leave a Reply

Your email address will not be published. Required fields are marked *