spring引入多个xml文件
spring引入多个xml文件示例1:@ImportResource(locations = {“classpath:/spring/spring-*.xml”})说明:多个文件时必须放入某个目录下才能生效示例2:@ImportResource(locations = {“classpath:/spring/spring-.xml","classpath:xxxxxxx.xml”})说明:|- classpath*:加载jar包里的xml 这个要注意...
原创
2020-08-18 21:27:47 ·
758 阅读 ·
0 评论