When you compile class A, it needs to be able to see class B on the classpath. If you compile BeerSelect.java from the C:\MyProjects\beerV1\src\com\example\web directory, that file will begin to compile OK, but when it looks for com.example.model.BeerExpert, this class cannot be found on the classpath.
You have two simple options: add C:\MyProjects\beerV1\src to the classpath so that both packages are always available, or compile from the C:\MyProjects\beerV1\src directory as javac com\example\web\BeerSelect.java
In the second example, the required directory is the '.' directory on your classpath, so this way you don't need to add it explicitly.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop