1、放到classpath根目录下面2、12System.setProperty("com.mchange.v2.c3p0.cfg.xml",文件的绝对路径);ComboPooledDataSource ds = new ComboPooledDataSource();