首页 >数据库 >mysql教程 >java.lang.ClassNotFoundException: com.mysql.jdbc_MySQL

java.lang.ClassNotFoundException: com.mysql.jdbc_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原创
2016-06-01 13:10:321314浏览

mapreduce中操作mysql时显示java.lang.RuntimeException: java.lang.ClassNotFoundException: com.mysql.jdbcmysql-connector-java-5.1.6-bin要导入工程中eclipse  中只要右击工程文件夹属性选项-Java  Build Path-Libraries-Add Extenal JARs 添加即可……加入后可在.classpath文件中看到<classpathentry path="C:/usr/local/mysql-connector-java-5.0.4-bin.jar" kind="lib"/>


声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn