Topic
  • 1 reply
  • Latest Post - ‏2009-10-14T22:42:12Z by Stan
SystemAdmin
SystemAdmin
1525 Posts

Pinned topic Class org.apache.derby.jdbc.ClientDriver not found

‏2009-06-24T19:54:27Z |
I have a test web application that I'm using to work with web development in NetBeans. I create an instance of an EntityManager using EntityManagerFactory. If I do the call through the web application, data is returned and is displayed in my JSF table. However, if I try to create the EntityManager from a junit test case, I get the above exception. Same thing happens if I try to do the creation through main().
Anyone have a suggestion as to what's going on?

Thanks,
Brian
Updated on 2009-10-14T22:42:12Z at 2009-10-14T22:42:12Z by Stan
  • Stan
    Stan
    267 Posts

    Re: Class org.apache.derby.jdbc.ClientDriver not found

    ‏2009-10-14T22:42:12Z  
    the derbyclient.jar file needs to be in your (or the Server's) classpath. The driver class is there.