lakshmanan anand wrote:here is the command that i give to compile
javac -d classes src\com\example\web\BeerSelect.java
Unless, you have a classpath set, you are in the wrong directory. Without the classpath, javac will assume that the current directory is the class path, which in this case, is wrong.
You need to be in the src directory and compile with
javac -d ..\classes com\example\web\BeerSelect.java
You may also have to recompile the other class too.
Henry