your missing commons-logging from your classpath

Zach Calvert wrote:
I am running an Eclipse java application that makes a call to the
Bootstrap.main function.  I am using Log4J as my logger.
I set the catalina.home, catalina.base, java.endorsed.dirs, and
java.io.tempdir before I call Bootstrap.main with
Bootstrap.main(new String[] {"start"}); I get the error
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
when I make this call.  What is really weird, is that I can do
Log log = LogFactory.getFactory().getLog(Logger.class);
log.debug("got log");
right before the Bootstrap.main and see 0 [main] DEBUG org.apache.log4j.Logger - got log on my command line. Does anyone have any idea as to what causes this failure? Do I have to
set some environment variable that I am not aware of?
Thanks,
Zach Calvert

------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.5/425 - Release Date: 8/22/2006



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to