数据库的URL:“jdbc:mysql://localhost:3306/bookstore?useSSL=false&characterEncoding=utf8”中的“&”符号在xml中是读不出来的,应该要修改成下面这个:
"jdbc:mysql://localhost:3306/bookstore?useSSL=false&characterEncoding=utf8"
修改后编译就没有问题了。
数据库的URL:“jdbc:mysql://localhost:3306/bookstore?useSSL=false&characterEncoding=utf8”中的“&”符号在xml中是读不出来的,应该要修改成下面这个:
"jdbc:mysql://localhost:3306/bookstore?useSSL=false&characterEncoding=utf8"
修改后编译就没有问题了。