Mysql JDBC driver ClassNotFoundException

后端 未结 3 2028
陌清茗
陌清茗 2020-12-12 05:29

I can\'t register Mysql JDBC driver in my desktop APP

I download mysql-connector-java-5.1.16.zip

Unzip mysql-connector-java-5.1.16-bin.jar a

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-12 05:40

    1. You could double check that the jar is really in the Eclipse build path.

      Project Properties > Java Build Path > Libraries > Add JARS
      
    2. Try a: Project > Clean on the Project menu in Eclipse.

提交回复
热议问题