Wildcard locations cannot work in spring boot 2.4.1

Wildcard locations cannot work in spring boot 2.4.1

java -Dspring.config.additional-location=/work/*/ -jar test.jar

Error:

java.lang.IllegalStateException: Location '/work/*/' must not be a pattern

What should we do to solve this probelm?



Read more here: https://stackoverflow.com/questions/65713954/wildcard-locations-cannot-work-in-spring-boot-2-4-1

Content Attribution

This content was originally published by monstar at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: