Yes it is. As the other answers pointed out, you cannot load classes from the default package.
See SO answers:
How to import a class from the default package
How to access java classes in a package by default?
However, log4j requires that the configuration be located in the default package. This is the only thing that is reasonable to keep there.
Edit:. As Sean Patrick Floyd and Michael note in the comments, you can put any configuration files in the default package. Thank you both for pointing this out to me.
Jonathan Spooner Oct 21 '11 at 12:38 2011-10-21 12:38
source share