Java【SpringBoot】——引入配置文件
1 @SpringBootApplication 2 @ImportResource("classpath:bean.xml") 3 public class MySpringBootApplication { 4 5 public static void main(String[] args) { 6 SpringApplication.run(MySpringBootApplication.class); 7 } 8 }
有志者,事竟成,破釜沉舟,百二秦关终属楚; 苦心人,天不负,卧薪尝胆,三千越甲可吞吴。