mirror of
https://github.com/lightbend/config.git
synced 2025-03-29 21:51:10 +08:00
Remove whitespace
This commit is contained in:
parent
59c8bb8de8
commit
d5f9311861
@ -764,7 +764,7 @@ If you have trouble with your configuration, some useful tips.
|
|||||||
and you're sure that key is defined in your config file, they might appear e.g.
|
and you're sure that key is defined in your config file, they might appear e.g.
|
||||||
when you're loading configuration from a thread that's not the JVM's main thread.
|
when you're loading configuration from a thread that's not the JVM's main thread.
|
||||||
Try passing the `ClassLoader` in manually - e.g. with `ConfigFactory.load(getClass().getClassLoader())`
|
Try passing the `ClassLoader` in manually - e.g. with `ConfigFactory.load(getClass().getClassLoader())`
|
||||||
or setting the context class loader.
|
or setting the context class loader.
|
||||||
If you don't pass one, Lightbend Config uses the calling thread's `contextClassLoader`, and in some cases,
|
If you don't pass one, Lightbend Config uses the calling thread's `contextClassLoader`, and in some cases,
|
||||||
it may not have your configuration files in its classpath,
|
it may not have your configuration files in its classpath,
|
||||||
so loading the config on that thread can yield unexpected, erroneous results.
|
so loading the config on that thread can yield unexpected, erroneous results.
|
||||||
|
Loading…
Reference in New Issue
Block a user