blueJ连接mysql,sqlite数据库连接:java.Lang.ClassNotFoundException:org.sqlite.JDBC

本文档描述了一位初学者在使用BlueJ IDE尝试连接sqlite数据库时遇到的'java.lang.ClassNotFoundException: org.sqlite.JDBC'问题。尽管已将jar文件放在了java>extensions文件夹中,但错误依然存在。提供的代码显示了尝试建立连接的尝试。解决方案指出,应用的运行时类路径缺少SQLLite驱动jar,将其添加到类路径中即可解决问题。
摘要由CSDN通过智能技术生成

Let me first start by saying that I am a total beginner to coding. I've studied java for only the last several few of high school, so don't be afraid of an overly simplified explanation.

I'm trying to create and connect a sqlite database using BlueJ as my IDE. I don't really understand what I'm doing, but I followed some instructions on youtube. Anyway, when I run the program I get a "java.Lang.ClassNotFoundException: org.sqlite.JDBC." I've done several google searches, but most of the solutions refer to a misplaced jar file. They say "make sure the package is in the classpath," and I did that...atleast I think I did. It's in the java>extensions folder in BlueJ. Please let me know what's wrong with syntax or whatever the problem could be. If you need more information feel free to ask!

Help much appreciated,

Thanks!

Here&

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值