Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use multiple stores #65

Closed
pgh70 opened this issue Dec 17, 2018 · 2 comments
Closed

Can't use multiple stores #65

pgh70 opened this issue Dec 17, 2018 · 2 comments

Comments

@pgh70
Copy link

pgh70 commented Dec 17, 2018

Unable to use multiple stores in java:

Using "vault" and "redis" gives: "(known implementations are: [redis])" if redis is first in dependencies and "(known implementations are: [vault])" if vault is first. Can't use them both.

Even when using only one additional store an error is thrown when using the "json" config store. It seems like an additional store is overwriting the available stores.

@cescoffier
Copy link
Member

Check that the META-INF/services files contain all the stores you want to use.

@pgh70
Copy link
Author

pgh70 commented Dec 17, 2018

Me bad... I did forget:

mergeServiceFiles {
    include 'META-INF/services/io.vertx.core.spi.VerticleFactory'
}

in my build.gradle shadowJar section...
A pointer this requirement in the documentation would be nice...

@pgh70 pgh70 closed this as completed Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants