Adding external JDBC JAR to plug-in [message #187818] |
Fri, 12 January 2007 18:40 |
Eclipse User |
|
|
|
Originally posted by: sadamson.cis.strath.ac.uk
Hi,
I'm tearing my hair out with this problem.
Basically all I need to do is connect to a MySQL database from my plug-in,
but the JDBC driver needs loaded from an external JAR which I can't seem
to add to my project correctly. I've found various posts on this
elsewhere so here is what i have at the moment:
- The required JAR saved in a 'lib' directory at the same level as src and
bin
- In the PDE runtime tab added this JAR as well as '.' (which I read
somewhere)
- Ensured that my lib folder is checked in the PDE build tab
- The JAR is added in the Properties->Configure Build Path->Libraries
dialog.
So does anyone know why I still get a ClassNotFoundException??
Thanks,
Steve
|
|
|
Powered by
FUDForum. Page generated in 3.59509 seconds