Where is the path to the src folder pointed to by the -classpath option?
You keep leaving that off. You need to have it in the classpath.
What folder is the src folder in? If it is in the beerV1 folder then you only need to add a . to the -classpath you are using:
-classpath D:/tomcat/common/lib/servlet-api.jar;.