tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BuildSmart <>
Subject Re: error with javac
Date Mon, 03 Dec 2007 18:23:38 GMT

On Dec 3, 2007, at 03:14:38, rameau rameau1982 wrote:

> hi, I have 2 java classes in the same directory. One of them  
> ( creates a new object from the other class  
> ( When I compile UsersDB, everything is correct and  
> the .class archive is in the same path as the other .java archives.  
> But when I want to compile the archive it gives  
> me 3 errors telling that it doesn't knows the class UsersDB when it  
> tries to create an object UserDB.
> What am I doing wrong? I've put the codes for this two java  
> classes. Thankyou

i believe your issues is package-less class files, manually make a  
jar file but probably better would be to make an ant or maven project  
to compile both of these sources into a single package.

> Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines  
> para estar a la última MSN Newsletters 
> ---------------------------------------------------------------------
> To start a new topic, e-mail:
> To unsubscribe, e-mail:
> For additional commands, e-mail:

-- Dale

View raw message