Additional data store cause "BeanCreationException"

Environment: Jmix 2.1.3
My project worked very well until I added an additional data store and did nothing, just left it there but it caused “BeanCreationException”.

My steps:

Left-clicked on “Data stores” → “New” → “Additional Data Store…”
After I filled every field in the “Properties file” and “Test connection” returned “Successfully connected”, Jmix auto-generated 1 file for me: This were BackofficeStoreConfiguration.java, which was a configuration file (picture below)
image
And Jmix added some configuration lines in my application.properties
image

But those lines showed something like this “Cannot resolve configuration property ‘jmix.core.additional-stores’”

How to solve this problem?
Thanks Jmix team

https://docs.jmix.io/jmix/data-model/data-stores.html#additional
I did every steps from above link, it didnt work

Can anyone support me with this issue

Hi

You need to have at least one entity that belongs to the additional datastore. Just add any JPA entity to the created datastore to make your app work.

1 Like