11 Replies Latest reply on Aug 19, 2008 9:28 AM by 807589

    jdbc connection error !  in  jar execution

      hi for all :)

      i made a swing application with mysql.
      when i complie and execute in eclipse, it works well. (perfectly!)

      after that, i made a test.jar file for deploy.
      but,, the jar file is not working
      when test.jar is executed, jdbc error is occured.

      java.sql.SQLException: No suitable driver found for jdbc:mysql://testIP(**.***.**.***):3306/DBNAME(test)*
      * at java.sql.DriverManager.getConnection(Unknown Source)*
      * at java.sql.DriverManager.getConnection(Unknown Source)*
      * at com.kaist.util.CancerDBSearching.dbConnection(CancerDBSearching.java:220)*
      * at com.kaist.util.CancerDBSearching.<init>(CancerDBSearching.java:39)*
      * at com.kaist.user.GuiEvent.<init>(GuiEvent.java:28)*
      * at com.kaist.user.GuiMain.<init>(GuiMain.java:140)*
      * at com.kaist.user.GuiMain.main(GuiMain.java:133)*

      to solve this problem,
      i make sure that jdbc classpath!
      but, still doesn`t not work!

      what's wrong with my-program.. T_T
      help me, plz!!!!! :-(