datasource.properties配置文件哪里有错

jdbc.driver=com.mysql.jdbc.Driver
db.url=jdbc:mysql:10.243.40.19:3306:mest
db.usr=root
db.psw=123456

报org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'com.mysql.jdbc.Driver' for connect URL 'jdbc:mysql:10.243.40.19:3306:mest'这个错

你能找到一个Demo配置文件不,对照改一下看。配置文件本身是很简单的。
然后确保就是mysql的相关jar都添加到项目路径中了。

jdbc:mysql://10.243.40.19:3306/mest

JDBC URL: jdbc:mysql://:/
默认端口3306,如果服务器使用默认端口则port可以省略
MySQL Connector/J Driver 允许在URL中添加额外的连接属性jdbc:mysql://:/?property1=value1&property2=value2

 JDBC URL: jdbc:mysql://<host>:<port>/<database_name>
默认端口3306,如果服务器使用默认端口则port可以省略
MySQL Connector/J Driver 允许在URL中添加额外的连接属性jdbc:mysql://<host>:<port>/<database_name>?property1=value1&property2=value2

url……明显有问题……

url写错了吧
jdbc:mysql://localhost/xxx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull