-
Notifications
You must be signed in to change notification settings - Fork 7
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
Unable to find properties when using profile files #225
Comments
@svemis Thanks for your PR. We are working in a different way to solve environment specific entries, but I will reproduce it and fix your issue as soon as I have got time. Thanks for raising it :) |
hey @svemis, I just found this issue: quarkusio/quarkus#18375 |
I would like to close this issue as Quarkus has been designed with a single profile in mind. |
Quarkus does support multiple profiles and the use case mentioned in this issue is completely valid. @svemis I did a quick test with a setup similar to what you described. The extension started normally and picked the config values from the separate profile file. Could you please check that Quarkus starts with the correct profile while the extension is disabled at first, before trying again with the extension enabled? The active profile will be showed at startup in the following log line:
It is possible that your app started with the wrong one, preventing this extension from loading its config values. You can activate a profile by setting the |
Let's reopen it until we get a response. |
When using application.properties per profile:
application-dev.properties
application-test.properties
application-prod.properties
As indicated here --> https://quarkus.io/guides/config-reference#profile-aware-files
The specific properties required for this plugin are not found, returning:
Caused by: io.quarkus.runtime.configuration.ConfigurationException: One or more configuration errors have prevented the application from starting. The errors are:
The text was updated successfully, but these errors were encountered: