I posted this problem before. Max and Carey answered my post right away. I tried and tried .... I must be missing something.
I really do not understand why all of a sudden that the java compiler cannot find the required JARs in the classpath. I have done some similar compilation before successfully. My head is not sober enough to pinpoint the problem this time. I am doing the compilation manually (I am not using ANT or any IDE). 1. I have the commons-scaffold.jar in my $TOMCAT_HOME/webapps/PracticeVersion/WEB-INF/lib folder. 2. I have the struts.jar in both $TOMCAT_HOME/webapps/PracticeVersion/WEB-INF/lib folder and j2sdk1.4.1_02/jre/lib/ext folder 3. in my java program (Bean.java), I import org.apache.commons.scaffold.text.ConvertUtils; import org.apache.commons.scaffold.util.ProcessBeanBase; import org.apache.commons.scaffold.lang.Tokens; 4. I first set the classpath C:\>set CLASSPATH=C:\jakarta-tomcat-4.1.18-LE-jdk14/webapps/PracticeVersion/WEB-INF/src/java;%CLASSPATH% then, I go to the folder where Bean.java is C:\>cd jakarta-tomcat-4.1.18-LE-jdk14/webapps/PracticeVersion/WEB-INF/src/java/org/apache/artimus/article then, I try to compile and put the class file in the destination folder C:\jakarta-tomcat-4.1.18-LE-jdk14/webapps/PracticeVersion/WEB-INF/src/java/org/apache/artimus/article>javac -d C:\jakarta-tomcat-4.1.18-LE-jdk14/webapps/PracticeVersion/WEB-INF/classes Bean.java But, I get compilation error: package org.apache.commons.scaffold.text does not exist package org.apache.commons.scaffold.util does not exist package org.apache.commons.scaffold.lang does not exist __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]