How to install JDBC driver in Eclipse web project without facing java.lang.ClassNotFoundexception

后端 未结 13 2833
梦毁少年i
梦毁少年i 2020-11-21 11:36

There is a VERY similar question to mine but in my case I don\'t have any duplicate jars in my build path, so the solution does not work for me. I\'ve searched google for a

13条回答
  •  感动是毒
    2020-11-21 11:44

    Just follow these steps:

    1) Install eclipse
    2) Import Apache to eclipse
    3) Install mysql
    4) Download mysqlconnector/J
    5) Unzip the zipped file navigate through it until you get the bin file in it. Then place all files that are present in the folder containing bin to C:\Program Files\mysql\mysql server5.1/ then give the same path as the address while defining the driver in eclipse.

    That's all very easy guys.

提交回复
热议问题