spring_reference/III. Using Spring Boot/15.2. Importing XML configu...

4 lines
208 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

### 15.2. 导入XML配置
如果你绝对需要使用基于XML的配置我们建议你仍旧从一个`@Configuration`类开始。你可以使用附加的`@ImportResource`注解加载XML配置文件。