Re: error with javac

2007-12-03 Thread David Smith
1. You didn't include a package directive in your source. You really should package your sources. 2. How are you compiling these? Most people use an IDE or let a build tool like maven or ant do the ugly heavy lifting for them. From your description you seem to be doing this by hand. NetBea

Re: error with javac

2007-12-03 Thread BuildSmart
On Dec 3, 2007, at 03:14:38, rameau rameau1982 wrote: hi, I have 2 java classes in the same directory. One of them (SlateServlet.java) creates a new object from the other class (UsersDB.java). When I compile UsersDB, everything is correct and the .class archive is in the same path as the other .jav

Re: error with javac

2007-12-03 Thread David Delbecq
Put your classes in packages. Specs forbid the use of package-less classes in web container. En l'instant précis du 03/12/07 09:14, rameau rameau1982 s'exprimait en ces termes: hi, I have 2 java classes in the same directory. One of them (SlateServlet.java) creates a new object from the other

error with javac

2007-12-03 Thread rameau rameau1982
hi, I have 2 java classes in the same directory. One of them (SlateServlet.java) creates a new object from the other class (UsersDB.java). 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 SlateS