SQLite driver not found with OrmLite
Hi, I am trying to use Ormlite with a sqlite database and it just doesn't work and I don't know why.
Here is my code:
pom.xml
Here is my code:
pom.xml

Class.forName("org.sqlite.JDBC");
String databaseUrl = "jdbc:sqlite:data.db";
connectionSource = new JdbcConnectionSource(databaseUrl); <dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.46.1.3</version>
<scope>compile</scope>
</dependency>⌛ This post has been reserved for your question.Hey @TomasGnG! Please use
or the/closebutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.Close Post
Class.forName?

Class.forName