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