I'm using the derby plugin which sets the classpath up for the project. It
may have something to do with the way the views are instantiated though but
if that is the case I would expect this to be a common problem with users of
the plugin. I will try the eclipse lists.  

 - Greg
http://www.gregmartin.name/
 

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Saturday, October 10, 2009 9:16 PM
To: Derby Discussion
Subject: Re: Derby plugin class sometimes not found exception

Greg Martin <[email protected]> writes:

> Class.forName("org.apache.derby.jdbc.EmbeddedDriver") when called from
> within an Eclipse view class throws class not found however from a main in
> the same class it succeeds and I can get a connection o the db. I can
> connect to the db from ij fine as well. Derby version is 10.5.3 and
eclipse
> is 3.5.1. Any help would be appreciated.

I don't use Eclipse, but this sounds like a classpath problem. Maybe
some Eclipse experts can help you, I don't believe this is a Derby
issue.

Dag

Reply via email to