我在用Properties类的setProperty()方法进行修改配置文件时,
下面这句话:
url = jdbc:mysql://localhost:3307/b_epdata?useUnicode=true&characterEncoding=GBK
变成了:
url=jdbc\:mysql\://localhost\:3307/b_epdata?useUnicode\=true&characterEncoding\=GBK