关于“The reference to entity "useSSL" must end with the ';' delimiter.”和“useSSL”

版权声明:转载请注明出处! https://blog.csdn.net/yxw908186797/article/details/88775698

当MySQl数据库版本和JDBC驱动版本不一致的时候,需要设置“userSSL”才能连接。
例如:

			<property name="url" value="jdbc:mysql://localhost:3306/electronicbusiness?characterEncoding=utf8&amp;useSSL=true" />

而且在XML中,“&”符合需要写成“&amp;”。如我上面代码所示!

猜你喜欢

转载自blog.csdn.net/yxw908186797/article/details/88775698