Closed Deeds67 closed 9 months ago
When using version 2.7.5 of hoplite-hocon, it seems like a leading forward slash is required before the filename.
2.7.5
i.e this does not work for me:
ConfigLoader().loadConfigOrThrow("application.conf")
Exception in thread "main" com.sksamuel.hoplite.ConfigException: Error loading config because: Could not find application.conf
but this works:
ConfigLoader().loadConfigOrThrow("/application.conf")
I see all of the other examples in the README have a leading forward slash.
This is a standard java thing, good to clarify the docs.
When using version
2.7.5
of hoplite-hocon, it seems like a leading forward slash is required before the filename.i.e this does not work for me:
but this works:
I see all of the other examples in the README have a leading forward slash.