rakhare
asked on
log4j for applet
How can I direct log4j output to the java console? Where and how do I keep and access the property file for this to happen?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:-)
Make sure log4j.jar is in the applet's archive tag
Make sure log4j.jar is in the applet's archive tag
ASKER
Ok, I read it all.
Now here's what I did:
1. I put the log4j jar file in the root of my applet classes
2. Compiled all with the jar file in the classpath
3. When I run the applet, I get the following:
java.lang.reflect.Invocati
at java.awt.EventQueue.invoke
at org.bmc.misu.md.cms.Presen
at sun.applet.AppletPanel.run
at java.lang.Thread.run(Unkno
Caused by: java.lang.NoClassDefFoundE
What is it?