> Hi Me again, I Rechecked everything, I actually removed all the class
> files and compiled everyting (javac *.java). In one of my classes I
[quoted text clipped - 13 lines]
> javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
This does not mean that one class cannot find another class. To the
contrary, it means that one class finds the other just fine, but that
the class that was found does not contain a method that is supposed to
be there.
> Could it be because I am compiling one of hte classes on jbuilder,
> while the other on UNIX?? I copy the class file over to the UNIX box.
See my previous response in this thread. This is not caused (directly)
by compiling one class in jbuilder and the other via javac on a UNIX
(tm) box. HOWEVER, it could very well be caused by compiling the two
classes separately from incompatible sources. If you cannot compile
them both in the same build, then at least ensure that the class for
EquityUploader *that will be used in production* is in the compilation
classpath for FileUploadAction, and that no other version is present.
(Watch out for out-of-date classes lying around.) In the final extreme,
make sure you are compiling from identical sources in both places; your
version control system will help you there, presuming that you are using
one.

Signature
John Bollinger
jobollin@indiana.edu
PythonAnimal@gmail.com - 18 Nov 2005 14:56 GMT
Yes I actually moved all teh .java files over and when I do javac
*.java the compilation works but if I do simple javac EquityU.java it
does not work. I rm *.class and redid this still I keep getting an
older class file. I am figuring out if it is looking in another
directory but all the class files are stored in my
WEB-INF/class/pakFolderName. Frustrating using javac *.java then
seeing the class was not updated.
Thanks again John. I appreciate it.
PythonAnimal@gmail.com - 18 Nov 2005 14:58 GMT
I get this error.
EquityUpdater.java:68: cannot resolve symbol
for 2-3 different classes, yet the classes are all in the same package
in the same directory. But when I do javac *.java everything compiles
fine. This is quite frustrating Thanks.
John C. Bollinger - 19 Nov 2005 02:16 GMT
> I get this error.
> EquityUpdater.java:68: cannot resolve symbol
> for 2-3 different classes, yet the classes are all in the same package
> in the same directory. But when I do javac *.java everything compiles
> fine. This is quite frustrating Thanks.
That may indicate something screwy with your source code (misspelled
package names, possibly combined with redundant source files, for
instance) or it may indicate a problem with how you're using javac.
Those are the most likely things that occur to me, anyway. I can't
offer any particular resolution, however, because I don't have any real
lead on a specific problem.

Signature
John Bollinger
jobollin@indiana.edu
John C. Bollinger - 19 Nov 2005 02:10 GMT
> Yes I actually moved all teh .java files over and when I do javac
> *.java the compilation works but if I do simple javac EquityU.java it
[quoted text clipped - 3 lines]
> WEB-INF/class/pakFolderName. Frustrating using javac *.java then
> seeing the class was not updated.
You mean WEB-INF/classes/pakFolderName, I suppose. Watch out for
another copy of your classes in a jar in WEB-INF/lib, as those would
also be in your webapp's class path. Also watch out for copies in other
directories that your servlet container puts in your class path; these
directories depend on the container, so check the documentation.

Signature
John Bollinger
jobollin@indiana.edu