add log4j and ibatis dependency