posted 13 years ago
as mentioned in headfirst example i did following things
made folowing architecture
project->e->src->com->example->web ->teaexpert
project->e->src->com->example->modell->teaselect
the coding is as follows
teaexpert
and for teaselect its
now teaexpert compiled successfully
but on compiling teaselect following error occurs
C:\project\e>javac -classpath c:\project\lib\servlet-api.jar -d classes src\com\example\web
src\com\example\web\teaselect.java:2: package com.example.modell does not exist
import com.example.modell.*;
^
src\com\example\web\teaselect.java:22: cannot find symbol
symbol : class teaexpert
location: class com.example.web.teaselect
teaexpert te =new teaexpert();
^
src\com\example\web\teaselect.java:22: cannot find symbol
symbol : class teaexpert
location: class com.example.web.teaselect
teaexpert te =new teaexpert();
^
3 errors
it says package does not exist how can that be it exists and note i have used modell in place of model intentionally its not an eroor my folder also named like that