突然出现这种问题。真愁死了
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Java does not support the MySQL character encoding encoding 'utf8'.)以前都用得好好的,这是怎么回事啊
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Java does not support the MySQL character encoding encoding 'utf8'.)以前都用得好好的,这是怎么回事啊
<property name="driverClassName">
<value>com.mysql.jdbc.Driver</value>
</property>
<property name="url">
<value>jdbc:mysql://localhost:3306/sgmweb?useUnicode=true&characterEncoding=utf8
</value>
</property>
<property name="username">
<value>root</value>
</property>
<property name="password">
<value>root</value>
</property>
</bean>
show create table xx;