wood burning stoves*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
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://aspose.com/file-tools
 
subject: HFSJ page 84 package com.example.model does not exist
 
Similar Threads
package com.example.model does not exist
problem compiling the MVC
Compiler error!
Compile error
Help needed...Package does not exist