add log4j and test hibernate succeed