Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #1501
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
|---|---|
| From | Lew <lewbloch@gmail.com> |
| Newsgroups | comp.lang.java.help |
| Subject | Re: Log4j help with NT Appender |
| Date | Mon, 2 Jan 2012 09:18:06 -0800 (PST) |
| Organization | http://groups.google.com |
| Lines | 27 |
| Message-ID | <18006719.1700.1325524686288.JavaMail.geo-discussion-forums@prdv33> (permalink) |
| References | <0d4b8e35-b28d-4e28-81c5-bf437974930e@z12g2000yqm.googlegroups.com> <jdsi7m$33t$1@dont-email.me> |
| Reply-To | comp.lang.java.help@googlegroups.com |
| NNTP-Posting-Host | 216.239.45.130 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Trace | posting.google.com 1325524762 9962 127.0.0.1 (2 Jan 2012 17:19:22 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Mon, 2 Jan 2012 17:19:22 +0000 (UTC) |
| In-Reply-To | <jdsi7m$33t$1@dont-email.me> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=216.239.45.130; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.help:1501 |
Show key headers only | View raw
On Monday, January 2, 2012 7:30:39 AM UTC-8, Jeff Higgins wrote: > On 01/02/2012 10:09 AM, Eddie Grogan wrote: >> I have relatively new to Java so I am hoping that someone can help me. >> I'm trying to use the NTEventLogAppender class to write to the windows >> event log. However, my program terminates as soon as it hits the >> declaration for the appender object. >> ... [snip] ... >> But when I run the program I get the following error: >> java HelloWorld You left off the classpath. > <http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html> > >> Exception in thread "main" java.lang.NoClassDefFoundError: >> org/apache/log4j/nt/NTEventLogAppender >> at HelloWorld.main(HelloWorld.java:10) >> Caused by: java.lang.ClassNotFoundException: >> org.apache.log4j.nt.NTEventLogAppender >> ... [snip] ... >> The NTEventLogAppender is included in the log4j jar file so I have >> really no idea why it won't work. The JAR does no good if it's not in the classpath. -- Lew
Back to comp.lang.java.help | Previous | Next — Previous in thread | Find similar
Log4j help with NT Appender Eddie Grogan <eddiegrogan@googlemail.com> - 2012-01-02 07:09 -0800
Re: Log4j help with NT Appender Jeff Higgins <jeff@invalid.invalid> - 2012-01-02 10:30 -0500
Re: Log4j help with NT Appender Jeff Higgins <jeff@invalid.invalid> - 2012-01-02 10:38 -0500
Re: Log4j help with NT Appender "John B. Matthews" <nospam@nospam.invalid> - 2012-01-02 11:47 -0500
Re: Log4j help with NT Appender Lew <lewbloch@gmail.com> - 2012-01-02 09:18 -0800
csiph-web