如果必须使用XML配置,建议你仍旧从一个@Configuration类开始,然后使用@ImportResource注解加载XML配置文件。
@Configuration
@ImportResource
Last updated 6 years ago
Was this helpful?