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

Recommended Answers

All 4 Replies

Have you tried connecting to your database using the Netbeans Services tab? This should work before you proceed.

Yes I'm able to see tables too...but still this exception appear after running project.

Yes I'm able to see tables too...but still this exception appear after running project.

Hmm, that's odd, because I managed to get it to work (although I had to change the persistence provider).
Have you tried (re)generating the persistence.xml file using the NetBeans wizard?

No what should I do with it?!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.