You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a library with multiple beans in it, each containing config values. I also have a service that only injects one of those beans. But at runtime there is an error attempting to find the config value for the bean that is not used in the service.
Note: I'd like to not use default config values so that anyone actually injecting the bean is required to add it to the config.
Describe the bug
I have a library with multiple beans in it, each containing config values. I also have a service that only injects one of those beans. But at runtime there is an error attempting to find the config value for the bean that is not used in the service.
Note: I'd like to not use default config values so that anyone actually injecting the bean is required to add it to the config.
Expected behavior
Successful run.
Actual behavior
Error find config value for unused bean.
How to Reproduce?
Reproducer:
service4
in https://github.com/mweber03/quarkus-test./gradlew service4:quarkusBuild
docker build -t service4 -f modules/service4/Dockerfile .
docker run -it -p 8080:8080 service4
Library with beans:
lib2
Output of
uname -a
orver
Ubuntu 20.04
Output of
java -version
OpenJDK 11.0.11
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.1.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 7.1.1
Additional information
No response
The text was updated successfully, but these errors were encountered: