add the libs:spring framework(3.1.1) and log4j.