在程序中用new ClassPathXmlApplicationContext()的注意事项 http://blog.csdn.net/budapest/article/details/38493003