这样close的话还要转换,为什么不直接用ClassPathXmlApplicationContext啊,试了试其他的代码不用改 这样close的话还要转换,为什么不直接用ClassPathXmlApplicationCon 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交