August 15th, 2002, 06:45 PM
Join Date: Aug 2002
Time spent in forums: < 1 sec
Reputation Power: 0
duplicate class error
Let's try to be brief:
my dev folder:
my class folder:
I don't want all my classes to go on the MeetPack package. But when I remove "package MeetPack;" from those which should go in the classes folder, I got the duplicate class error.
I compile with:
javac -d ..\WEB-INF\classes\ *.java
I don't execute Tomcat's "setclasspath.bat" before compiling.
What should be my CLASSPATH? What is the top-level directory?
I'm almost sure that I'm not explicit enough, but I hope someone sees where does the duplicate class problem come from...
Thank you very much! This is one of the best forums I've ever seen.