Re[2]: @SpringBootApplication @ImportResource
От: bzig  
Дата: 06.12.18 16:03
Оценка:
О, а я и не знал про "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 ) или по одному указывать
Отредактировано 06.12.2018 16:06 мамут ушёл, и я пойду . Предыдущая версия . Еще …
Отредактировано 06.12.2018 16:04 мамут ушёл, и я пойду . Предыдущая версия .
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.