Following the excellent tutorial at
http://maven.apache.org/guides/getting-started/index.html
I used 'mvn package' to create an executable jar. The jar includes META-INF/log4j.properties. However, when the application is run with the command:
java -jar my-app-1.0-SNAPSHOT-jar-with-dependencies.jar
The log4j.properties file is not found.
log4j:WARN No appenders could be found for logger (org.myorg.my-app).
log4j:WARN Please initialize the log4j system properly.
Obviously log4j.properties is not on the classpath but everything was done according to the tutorial, I'm at a loss as to what is missing.
Any help or guidance would be appreciated.
-=beeky