xerial / sqlite-jdbc

SQLite JDBC Driver
Apache License 2.0
2.81k stars 615 forks source link

Cannot use driver in netbeans with version higer than 3.42.0.1 #1085

Closed Tran-Hong-Quan closed 6 months ago

Tran-Hong-Quan commented 6 months ago

I was trying to connect to my sqlite database using Class.forName("org.sqlite.JDBC"); String url = "jdbc:sqlite:myDB.db"; conn = DriverManager.getConnection(url); It works fine on version equal or lower than 3.42.0.1, but not on higher version image

gotson commented 6 months ago

You need to include slf4j

Tran-Hong-Quan commented 6 months ago

I added slf4j.jar to the project but it still doesn't work. I think I will use the older version because my main purpose is just to study image