spring有三种启动方式,使用ContextLoaderServlet,ContextLoaderListener和ContextLoaderPlugIn.看一下ContextLoaderListener的源码,这是一个ServletContextListener/** * Initialize the root web application con...
yum方式安装mysql省去了源代码包安装的许多步骤,但是有时会遇见mysql yum包装完mysql之后,在启动mysql服务时,启动不了的问题,报错: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)...