Spring boot cannot scan mapping

clipboard.png

clipboard.png

cannot be scanned with classpath:resources/mapping/*.xml

you can use classpath:mapping/*.xml, which is the reason for scanning

wait online.

Mar.14,2021

because to cooperate with another project, all need to use classpath:resources/mapping/*.xml

solution:
change classpath:resources/mapping/ .xml to classpath with an asterisk: resources/mapping/ .xml

create a new directory resources/mapping under resources. Note: yes / no.

:
Menu