I have seen & read over 10 similar questions but am still unable to figure it out.
I am using windows7 / Eclipse Helios Service Release 1 / mysql-connector-java-5.1.13-bin.jar.
Everything worked until yesterday, and noW I get this error. I am not aware of anything I did that could have caused this (but maybe still...).
There are no duplicates of this file on my system (nor any other mysql-connector-*).
I am not sure where eclipse is looking for this file,
it is sitting under my projects \WebContent\WEB-INF\lib
folder with several other .jarS.
looking at the "project" menu -> properties and then "Java Build Path" on the left I see it as one of the libraries under "Web App Libraries" inside the "Libraries" tab. Do I need to add it to the CLASSPATH system environment variable ? (and if so - what would be . in that context ?)
is there a way for me to see (by way of debug) what is the actual path being searched by the class loader?
-=-=-
More info following comments by @javagirl
Q: where did you get the exception? compilation, building, running as java app, under tomcat/etc running?
A: its a runtime exception I get on the eclipse console running tomcat6.
Q: which build tool are you using, ant?
A: AFAIK none. just press play or debug on eclipse. and connect to tomcat from a browser.
Q: is this jar located in the final built package?
A: I don't know how to answer this, but if you can tell me where to look I will. that said I guess the answer is no because search only finds the single instance of the JAR I mentioned.
Q: if you running it under the servlet container like tomcat you probably need to put it in the tomcat/lib folder
A: I am running under tomcat - but not sure where I should actually find this lib folder.
-=-=-
can someone please guide me step by step with resolving this ?