0

I have problem with setting up jdbc driver. I have searched for solution and tried many things.

Firstly, I tried to put my driver .jar file into WebContent/WEB-INF, got error with Abandoned connection cleanup thread, then I tried to put my .jar file into Library/Tomcat/Lib, but got error:

java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

I also tried to put it in my project folder directory and add through build path. The same problem.

What else can I try? What can be the problem? Or what am I doing wrong? Please, help.

dcsohl
  • 7,186
  • 1
  • 26
  • 44
yerassyl
  • 2,958
  • 6
  • 42
  • 68

1 Answers1

0

you need to add MySQL connector jar in your class path, add external jar as shown in my picture enter image description here

JBALI
  • 89
  • 6