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

Unable to create a folder in the root directory of the application in spring boot 2.5.0 #26722

Closed
lyousan opened this issue Jun 1, 2021 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@lyousan
Copy link

lyousan commented Jun 1, 2021

Unable to create a folder in the root directory of the application (the equivalent of src), such as a folder called config in the equivalent of src. Starting the application at this time will cause an exception [ java.lang.IllegalStateException: No subdirectories found for mandatory directory location 'file:./config/*/' ], even if the entire SpringBoot application has not written a single line of code.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 1, 2021
@mschneid
Copy link

mschneid commented Jun 1, 2021

Duplicate of #26627 (2.4.x) and #26672 (2.5.x).

@lyousan lyousan closed this as completed Jun 1, 2021
@snicoll snicoll added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants