java.sql.SQLException: Before start of result set

出现的时候就是你的代码没有while(rs.next())这一句话就是到了结果集的最后

原文地址:https://www.cnblogs.com/mczha/p/3398271.html