Информация об изменениях

Сообщение Re[2]: @SpringBootApplication @ImportResource от 06.12.2018 16:03

Изменено 06.12.2018 16:06 мамут ушёл, и я пойду

Re[2]: @SpringBootApplication @ImportResource
О, а я и не знал про "classpath*"

Его проблема там явна описана

Other notes relating to wildcards

Please note that classpath*: when combined with Ant-style patterns will only work reliably with at least one root directory before the pattern starts, unless the actual target files reside in the file system. This means that a pattern like classpath*:*.xml might not retrieve files from the root of jar files but rather only from the root of expanded directories.


У него нет корневой директории, к которой можно привязаться и начать сканирование. Надо перемещать файлы в подпапку типа "conf" (classpath*:conf/beans_*.xml ) или по одному указывать
Re[2]: @SpringBootApplication @ImportResource
О, а я и не знал про "classpath*"

Его проблема там явно описана

Other notes relating to wildcards

Please note that classpath*: when combined with Ant-style patterns will only work reliably with at least one root directory before the pattern starts, unless the actual target files reside in the file system. This means that a pattern like classpath*:*.xml might not retrieve files from the root of jar files but rather only from the root of expanded directories.


У него нет корневой директории, к которой можно привязаться и начать сканирование. Надо перемещать файлы в подпапку типа "conf" (classpath*:conf/beans_*.xml ) или по одному указывать