这个问题是说明你的JDBC数据库连接位置出错了,请仔细检查
private static String url;
private static String username;
private static String password;
private static String className;
这几个参数跟properties中对应的位置是否一样.
''@'localhost' (using password: No)这里是no 的时候说明你的数据库的密码错误,需要更改密码对应的位置.如果没有密码要写上空值的对应