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

Failed to bind properties #66

Open
iColdLight opened this issue Sep 24, 2023 · 2 comments
Open

Failed to bind properties #66

iColdLight opened this issue Sep 24, 2023 · 2 comments

Comments

@iColdLight
Copy link

I will try to explain the issue as far as I understand it.
I start the app and receive the following error:

Failed to bind properties under 'logging.level.io.blamer.hub' to org.springframework.boot.logging.LogLevel:
Property: logging.level.io.blamer.hub
Value: "${APP_LOG_LEVEL}"
Origin: class path resource [application.yaml] - 17:20
Reason: failed to convert java.lang.String to org.springframework.boot.logging.LogLevel (caused by java.lang.IllegalArgumentException: No enum constant org.springframework.boot.logging.LogLevel.${APP_LOG_LEVEL})
Action:
Update your application's configuration. The following values are valid:
DEBUG
ERROR
FATAL
INFO
OFF
TRACE
WARN

For now, I fixed it by taking the actual systemPropertyVariables from pom.xml file and pasting them into application.yaml file. So, I don't have links to systemPropertyVariables in my application.yaml file (like ${POSTGRES_USER}, ${POSTGRES_PASSWORD}, etc.), but there are the actual values rewritten from the pom file. The question is - how do I fix it?

@l3r8yJ
Copy link
Contributor

l3r8yJ commented Sep 24, 2023

@PavelRyauzov can you help us here?

@PavelRyauzov
Copy link

@l3r8yJ @iColdLight Check this issue please, maybe solution is here quarkusio/quarkus#27266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants