Hii friends I m new to the Servlet world. I am going through the Head First Servlet book and facing difficulty in Chapter 3 while making the Beer Expert web app.
I need to compile the model class -
When I compile the above class on Windows the command prompt says -
"Note: src\com\example\model\BeerExpert.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details."
However the class is compiled. After that the book says me to compile Servlet version 2 -
When I compile the Servlet Vertion two the command prompt gives three errors-
src\com\example\web\BeerSelect.java:3: package com.example.model does not exist
import com.example.model.*;
^
src\com\example\web\BeerSelect.java:13: cannot find symbol
symbol : class BeerExpert
location: class com.example.web.BeerSelect
BeerExpert be=new BeerExpert();
^
src\com\example\web\BeerSelect.java:13: cannot find symbol
symbol : class BeerExpert
location: class com.example.web.BeerSelect
BeerExpert be=new BeerExpert();
^
3 errors
Please help me out