When I am trying to compile code on page no. 84 of HFSJ 2nd edition. I am getting compiler error on import statement (import com.example.model.* stating package com.example.model doesnot exist.
I have made the deployment and development envoirnment as per the directions given in the book.
I have also put the BeerExpert.class file in the src\com\example\model directory.
When you are using the command line. what is the base directory from where you are running the javac? Make sure that you are in the /src dir when using javac option.
I would recommend you to use eclipse Id/Ant Script to compile your code. It makes things easier. However, compiling it from command line should not be a problem if you are doing it the right way.