在写数据库驱动的url的过程中,出现了
The reference to entity "characterEncoding" must end with the ';' delimiter. 的错误,经查询发现:是
url="jdbc:mysql://192.168.1.100:3306/cas?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true"
在characterEncoding=UTF-8前和后面加上amp;就好了。