tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Get the following error: NoClassDefFoundError: org/apache/log4j/Logger
Date Wed, 02 Feb 2011 13:44:00 GMT
> From: henry human [mailto:henry_human@yahoo.de] 
> Subject: Get the following error: NoClassDefFoundError: org/apache/log4j/Logger

> I get the following error when I try to call a smal java 
> application(hello friends!) which i placed in a jar file.
> the application has the log4j.jar in its lib directory 
> (and classpath) and calls the log4j.logger like this:
> private static final Logger LOGGER = Logger.getLogger(Hello.class);
> It works when i run the application in eclipse.
> but not as a JAR application!(he application is not running 
> on tomcat an is only a smal commandline application)

> Error:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/log4j/Logger

Two questions:

1) What's the name of this mailing list?

2) Was there anything in your description related to Tomcat?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

Mime
View raw message