|
I've got this exception after running my project
Really don't know what to do!
SQLException: No suitable driver found for jdbc:derby://localhost:1527
I've add derbyclient.jar to Library.but I didn't get any different result.I also don't want to create a new database.
I wasn't able to attach it here but here are two links to download project files.
source:
http://bia2internet.com/dl/java/java.zip
database:
http://bia2internet.com/dl/java/db.zip
|
|
|
|
|
You might have to add the derbyclient.jar to the build, so it can be accessed at runtime.
to create a new database you need to tell derby so:
jdbc:derby://localhost:1527/dbname;create=true
Please also check out the Derby Documentation and Quick Start Guide:
http://db.apache.org/derby/quick_start.html[^]
Derby is well documented and works fine. Best choice for integrated databases.
Have fun.
|
|
|
|