Skip to content
Advertisement

Property file reading error in spring boot

Below is my yml file in spring boot app

JavaScript

below value access is working file

JavaScript

but when I try to access in below way it gives an error.

JavaScript

I checked it gives error only when add “com.cloudimpl.outstack.runtime.EventRepositoryFactory” this part.

How can I solve this??

Advertisement

Answer

It doesn’t work so. You have list with values under “outstack.providers.com.cloudimpl.outstack.runtime.EventRepositoryFactory”. It means you can add variable like so:

JavaScript

And then check your params in this list.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement