一:java配置: 使用@Bean的initMethod和destoryMethod(相当于xml配置的init-method和destory-method)使用@Bean的initMethod和destoryMethod(相当 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交