Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotF
我的db.properties
引起错误的原因是我在sqlMapConfig.xml中没有,${}获取值的时候,没有加“jdbc.xxx”,比如${jdbc.driver},我写的${driver}。。。改成正确格式如下
就好了
...
原创
2019-06-21 14:41:51 ·
467 阅读 ·
0 评论