Guest User

Untitled

a guest
Aug 13th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Sqlite JDBC in Java Server Page
  2. java.lang.NoClassDefFoundError: org/sqlite/JDBC
  3. model.DataBase.<init>(DataBase.java:35)
  4.  
  5. this.conn = new org.sqlite.JDBC().connect("jdbc:sqlite:" + file, new Properties());
  6. this.stm = this.conn.createStatement();
  7.  
  8. Class.forName("org.sqlite.JDBC");
  9. this.conn = DriverManager.getConnection("jdbc:sqlite:" + file);
  10. this.stm = this.conn.createStatement();
Add Comment
Please, Sign In to add comment