/**
* 将外部资源文件引入springboot中
* 在入口类的可扫描环境下
*
* @author ycc
*
*/
@Configuration
@ImportResource(locations={"classpath:spring-customer.xml"})
public class XMLSource {
}
将外部资源文件引入springboot中
最新推荐文章于 2020-01-04 20:27:58 发布
/**
* 将外部资源文件引入springboot中
* 在入口类的可扫描环境下
*
* @author ycc
*
*/
@Configuration
@ImportResource(locations={"classpath:spring-customer.xml"})
public class XMLSource {
}