######C3P0 MySQL config #######
c3p0.url=jdbc:mysql://localhost:3306/mavendata?useUnicode=true&characterEncoding=utf8&mysqlEncoding=utf8
c3p0.user=root
c3p0.password=root
c3p0.driverClass=com.mysql.jdbc.Driver
c3p0.acquireIncrement=1
c3p0.maxIdleTime=60
c3p0.maxPoolSize=200
c3p0.minPoolSize=50
c3p0.url=jdbc:mysql://localhost:3306/mavendata?useUnicode=true&characterEncoding=utf8&mysqlEncoding=utf8
c3p0.user=root
c3p0.password=root
c3p0.driverClass=com.mysql.jdbc.Driver
c3p0.acquireIncrement=1
c3p0.maxIdleTime=60
c3p0.maxPoolSize=200
c3p0.minPoolSize=50
c3p0.initialPoolSize=300
上面是我在搭建SSM框架是用到jdbc属性文件 ,大家以后要注意空格问题(上面的红色区域为空格)有就一定会报错 我就被这个坑了