提交 25f2d4c9 编写于 作者: I Ian Luo 提交者: cvictory

[DUBBO-3476]: NullPointerException happened when using SpringContainer.getContext() (#3600)

*     #3476: NullPointerException happened when using SpringContainer.getContext()

* rollback change for DEFAULT_SPRING_CONFIG
上级 8f7b0c35
......@@ -46,7 +46,8 @@ public class SpringContainer implements Container {
if (StringUtils.isEmpty(configPath)) {
configPath = DEFAULT_SPRING_CONFIG;
}
context = new ClassPathXmlApplicationContext(configPath.split("[,\\s]+"));
context = new ClassPathXmlApplicationContext(configPath.split("[,\\s]+"), false);
context.refresh();
context.start();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册