I am trying to run mvn exec: java .....
then it uses the path to the runtime classes defined by my pom, which, it seems to me, belongs to the compilation class class by default. the problem is that I found that my src / main / resources / log4j.xml file is not mirrored, since I entered an entry in DEBUG in the file, but I only see WARN in the output. I suspect this is actually log4j.xml from some of the dependency cans that are used. so I need to raise src / main / resources / log4j.xml to the beginning of my compilation path / runtime. but how to specify the relative order of src / main / resources vs dependency bytes in the classpath?
Thanks yang
source
share