On 08/06/2021 20:20, Alexey Gavrilov wrote:
Note that *Module 2* cannot contain its own resources under `dir1` and
`dir2` directories because they are already encapsulated in *Module 1*. If
you try adding `dir1` you will get the following error:
Error occurred during initialization of boot
Thanks for taking a look.
> Resource encapsulation is complicated.
Yes, that is very true
In our application we use the TypeSafe’s config library [1] which scans the
application classpath for all resources named like `reference.conf` or
`application.conf`. It works just fine in a modular appli