Currently, if a single folder has multiple packages, ComponentClassResolver looks for a common package name to use when constructing classpath asset URLs, for example, using:
The common root package would be "com.foo", and asset URLs would be /assets/xxxx/foo/bar/abc.png or /assets/xxxx/foo/bazz/xyz.pdf
In other work, /assets/xxxx/foo maps to "com/foo" on the classpath, and the remainder is mapped in.
However, for some clients, requiring two folders is overkill, and reducing this limit to a single folder is desirable.
Reducing down to no folders is problematic, since it makes the entire classpath visible to browsers, including important resources such as hibernate.cfg.xml and the like.