This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
HI i am new to maven as well as log4j . I have implemented loggers in my maven application. have set my classpath as well as environmental variables. while running my program using $java -cp target/school-0.0.1-SNAPSHOT.jar nbos.school.App
The following exception is arising
Where is the log4j.xml file located on your system? If it's only in the local Maven repository, then you could use something like this (assuming you are running on Linux and are using the default local repository location, and guessing as to which version of log4j you included):