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
  • 6,840
  • 1
  • 24
  • 42
yerassyl
  • 2,790
  • 6
  • 34
  • 64

1 Answers1

0

u need to add mysql connector jar in ur class path,add external jar as shown inmy picture enter image description here

JBALI
  • 85
  • 6