move resource files like logback.xml for packaging an executable jar

when place the logback.xml under /src/main/resource, the executable jar would not print log in the log file, instead it prints log on console.

after placing the logback.xml under /src/main/java, everything works well.

Reference:

[1] http://stackoverflow.com/questions/20818665/how-to-setup-logback-configuration

你可能感兴趣的:(move resource files like logback.xml for packaging an executable jar)