Unable to locate JAR/zip in file system as specified by the driver definition: mysql-connector-java-5.0.0-bin.jar.


在eclipse的“Data Source Explorer”弹出对话框中选一个driver,出现了

Unable to locate JAR/zip in file system as specified by the driver definition: xxx.jar.

解决办法很简单:
只要在“JAR List”选项卡中删除原有的驱动文件,重新加一下你目前项目所使用的mysql版本就行了。

我的放在了C盘:

C:\.m2\repository\mysql\mysql-connector-java\5.1.30\mysql-connector-java-5.1.30.jar.
:DriverDefn.org.eclipse.datatools.enablement.mysql.5_1.driverTemplate.MySQL JDBC Driver.
Using the driver properties defined in database profile instead.

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM