javax.activation.DataSource.getConnection

  sre

rgE5a8.jpg
javax.activation.DataSource.getConnection 找不到getConnection()方法

DataSource里找不到getConnection()方法

检查是否导错包:import javax.activation.DataSource;
正确的应该是:import javax.sql.DataSource;

LEAVE A COMMENT

Captcha Code