fixed dependency issues with the spring hibernate stuffs.