java error (No suitable driver found)

后端 未结 4 819
醉梦人生
醉梦人生 2020-11-29 12:19
public class ReportView extends JFrame {

  Connection con=null;

  void showReport() throws SQLException, ClassNotFoundException, JRException {

    con=DriverManag         


        
4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-29 13:12

    Did you add Postgresql driver to your classpath?

    http://jdbc.postgresql.org/

提交回复
热议问题