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

Spring Jars

Hi guys I recently found good places where I can rapidly download java jars. Open Logic: Spring: Spring Security: Java2S Spring List: Grepcode Spring:

Spring MVC Form Example

In this tutorial I will show you how to create a simple form using Spring 3 MVC Web framework. I have checked other examples regarding creation of forms in Spring MVC Framework, there are many ways of achieving it. With the simplicity  of Spring MVC version 3, we are easing our forms to be implemented

Mastering Spring MVC

In this article I will be covering Spring MVC web framework. There are separated and different articles written regarding the framework. I will try to keep it simpler and more clear for you. Spring MVC web framework is established on Model View Control web design patter which has been commonly and widely used in many

Oracle JNDI LDAP Connection Test

If you want to test your ldap connection you may use this code. Please keep in mind when you create the project add Spring necessary jars as well as spring ldap and sun-jndi-ldapbp.jar package springframeworkldapclient; import java.util.Hashtable; import javax.naming.Context; import javax.naming.NamingException; import javax.naming.ldap.InitialLdapContext; import javax.naming.ldap.LdapContext; public class LdapContextCreation { public static void main(String[] args) { LdapContextCreation

Including and storing resource and media files like css, img file etc

Previously I have faced the situation that I was trying to add resources and images in my maven project and was dwelling on how to add and use those files within my project. ¬†After a long search i have come across with a solution reading blogs, stackoverflow and maven’s official web site¬† As you know

Spring 3 MVC Hello World Example

In this simple tutorial I will show you how to create the folder structure, add necessary libraries and write code of Spring 3 MVC. First off all your project has to have the following jars to be imported in your project minimum: antlr-2.7.6.jar commons-lang-2.4.jar commons-logging-1.1.1.jar jstl.jar log4j-1.2.11.jar org.springframework.beans-3.0.6.RELEASE.jar org.springframework.context-3.0.6.RELEASE.jar org.springframework.core-3.0.6.RELEASE.jar org.springframework.expression-3.0.6.RELEASE.jar org.springframework.web-3.0.6.RELEASE.jar org.springframework.web.servlet-3.0.6.RELEASE.jar This is