aspose file tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFSJ page 84 package com.example.model does not exist Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "HFSJ page 84 package com.example.model does not exist" Watch "HFSJ page 84 package com.example.model does not exist" New topic
Author

HFSJ page 84 package com.example.model does not exist

Dishaan D Ahuja
Greenhorn

Joined: Aug 13, 2005
Posts: 22
Can anyone please help me. I am new to Web Component Development. On page 84 of HFSJ when I am running compiling the servlet, the compiler is giving the error, package com.example.model does not exist. I have checked the directory structure too and the same is correct. I am using Tomcat5.0 and J2SDK1.5.

Thanks in advance

Dishaan


Dishaan Ahuja<br />Youngest SCJP1.4 SCWCD Preparing
Jinesh Shah
Greenhorn

Joined: Oct 17, 2005
Posts: 10
When u compile, include the complete path of your classes folder (under Beerv1) in the -calsspath option when u compile....so it will be:

-classpath <complete path of your classes folder, excuding the classes foldername>;..../servlet-api.jar


SCJP, SCWCD
Dishaan D Ahuja
Greenhorn

Joined: Aug 13, 2005
Posts: 22
I have compiled exactly like the one suggested by you. I am getting same problem. The compiler is giving error package com.example.model does not exist.

I need your kind help to solve this problem.

Thanks in advance.

Regards,

Dishaan
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: HFSJ page 84 package com.example.model does not exist
 
Similar Threads
package com.example.model does not exist
Compile error
Compiler error!
Help needed...Package does not exist
problem compiling the MVC