Usage of quarkus.config.locations results in ClassNotFoundException #30280
Labels
area/config
kind/bug
Something isn't working
triage/needs-reproducer
We are waiting for a reproducer.
Describe the bug
I added
quarkus.config.locations: application.common.yaml
to my application.yaml (i used the yaml config source extension) which results in anjava.lang.NoClassDefFoundError: org/apache/commons/io/FilenameUtils
onio.quarkus.deployment.steps.ConfigGenerationBuildStep#appendProfileToFilename
.The error is gone as soon as i add commons-io as / maven dependency myself.
Expected behavior
Since that seems to be a core configuration option i expect that the commons-io dependency has to be resolved on quarkus core itself.
Actual behavior
An exception is thrown on application startup until you add the dependency yourself.
How to Reproduce?
Reproducer:
Output of
uname -a
orver
Linux br-builders-nb 5.14.0-1052-oem #59-Ubuntu SMP Fri Jan 10 09:37:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "17" 2022-01-10 OpenJDK Runtime Environment (build 17+35-2724) OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.15.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
The text was updated successfully, but these errors were encountered: