Do you really have:

    import com.fgic.Utility.*
    Utility util = new Utility();

If so, I don't think that import is doing what you hope for.
I think:

    import com.fgic.Utility;

would work better.

Larry

> -----Original Message-----
> From: Boemio, Neil (GEI, FGI) [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 29, 2003 12:16 PM
> To: [EMAIL PROTECTED]
> Subject: Full Package Names??
> 
> 
> I'm just starting to use Tomcat (4.1.27) and I'm trying to 
> get my existing app to work.  It worked fine with JRun, but 
> it seems that Tomcat requires that I specify the full package 
> name for a class whenever I use it??  Is this true?
> 
> For example,  I get, "cannot resolve symbol" for the following:
> ------------------------------
> import com.fgic.Utility.*
> Utility util = new Utility();
> 
> ------------------------------
> But when I change it like below, it works fine:
> 
> import com.fgic.Utility.*
> com.fgic.Utility util = new com.fgic.Utility();
> 
> ------------------------------
> So does this means I have to go through all my code and 
> specify the full package name everywhere?
> 
> Note: in JRun, I didn't even have to specify the package name 
> in the import statement.  It was able to find it with just: 
> import Utility.*
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to