Hi Karthik,
As you set the classpath to compile the program, you need to set the classpath while running also. So set the classpath to the classes12.zip in the tomcat startup script (I think, it will be <<tomcat-home>>\bin\startup.bat). Hope, this would solve your issue.
Regards,
Shanmy