Home > Database > Mysql Tutorial > java.lang.ClassNotFoundException: com.mysql.jdbc_MySQL

java.lang.ClassNotFoundException: com.mysql.jdbc_MySQL

WBOY
Release: 2016-06-01 13:10:32
Original
1297 people have browsed it

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"/>
Copy after login


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template