downgraded hibernate & spring from 4 to 3.