Added proper libraries to run on tomcat.