Skip to content

"Unrecognized configuration file" when using YAML #36773

@wicksim

Description

@wicksim

Describe the bug

When using YAML-configfiles, the following warning is printed at startup:

WARN [io.quarkus.config] Unrecognized configuration file C:\...\target\classes\application.yaml found; Please, check if your are providing the proper extension to load the file

Expected behavior

No warning should be printed.

Actual behavior

WARN [io.quarkus.config] Unrecognized configuration file C:\...\target\classes\application.yaml found; Please, check if your are providing the proper extension to load the file is printed.

How to Reproduce?

Steps to reproduce:

  • Use a Quickstart-Project with YAML-configs
  • mvnw clean install
  • See warning

Output of uname -a or ver

Microsoft Windows [Version 10.0.19045.3570]

Output of java -version

OpenJDK Runtime Environment Corretto-17.0.9.8.1 (build 17.0.9+8-LTS)

Quarkus version or git rev

3.5.0

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)

Additional information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions