I'm working on a RESTful service in Eclipse with a tomee server and a derby database. I've got the RESTful service mocked up without a database connection and all of my requests are acting as expected. Now I'm trying to incorporate the derby database and I'm getting this:
java.sql.SQLException: No suitable driver found for jdbc:derby:Students
I've linked derby.jar. I've also set up a non-web application that connects to the database and it works fine. The problem only occurs if I try to initialize the database within my RESTful application. Is there something I'm missing in how to incorporate derby into a RESTful web service?